Method ConfigureAwait
ConfigureAwait(bool)
Configures how awaits on the tasks returned from an async disposable are performed.
Declaration
ConfiguredAsyncDisposable ConfigureAwait(bool continueOnCapturedContext)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | continueOnCapturedContext | true to capture and marshal back to the current context; otherwise, false. |
Returns
| Type | Description |
|---|---|
| ConfiguredAsyncDisposable | The configured async disposable. |