Open
Description
There are two general approaches for parameter validation (e.g., ArgumentNullException
) with *Async
methods:
- "Eagerly" throw the exception before the
Task
is created; this requires a non-async
method that calls theasync
helper. - Return a faulted
Task
holding theArgumentException
; this happens by default if parameter checking happens in anasync
method.
Test if ADO.NET providers differ in how they implement this.
Metadata
Metadata
Assignees
Labels
No labels