TaskAsyncEnumerableExtensions.ConfigureAwait 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
ConfigureAwait(IAsyncDisposable, Boolean) |
비동기 일회용에서 반환되는 작업을 대기하는 방법을 구성합니다. |
ConfigureAwait<T>(IAsyncEnumerable<T>, Boolean) |
비동기 반복에서 반환된 작업을 대기하는 방법을 구성합니다. |
ConfigureAwait(IAsyncDisposable, Boolean)
비동기 일회용에서 반환되는 작업을 대기하는 방법을 구성합니다.
public:
[System::Runtime::CompilerServices::Extension]
static System::Runtime::CompilerServices::ConfiguredAsyncDisposable ConfigureAwait(IAsyncDisposable ^ source, bool continueOnCapturedContext);
public static System.Runtime.CompilerServices.ConfiguredAsyncDisposable ConfigureAwait (this IAsyncDisposable source, bool continueOnCapturedContext);
static member ConfigureAwait : IAsyncDisposable * bool -> System.Runtime.CompilerServices.ConfiguredAsyncDisposable
<Extension()>
Public Function ConfigureAwait (source As IAsyncDisposable, continueOnCapturedContext As Boolean) As ConfiguredAsyncDisposable
매개 변수
- source
- IAsyncDisposable
원본 비동기 일회용
- continueOnCapturedContext
- Boolean
현재 컨텍스트로 캡처하고 마샬링하면 true
이고, 그렇지 않으면 false
입니다.
반환
구성된 비동기 일회용
적용 대상
ConfigureAwait<T>(IAsyncEnumerable<T>, Boolean)
비동기 반복에서 반환된 작업을 대기하는 방법을 구성합니다.
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static System::Runtime::CompilerServices::ConfiguredCancelableAsyncEnumerable<T> ConfigureAwait(System::Collections::Generic::IAsyncEnumerable<T> ^ source, bool continueOnCapturedContext);
public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<T> ConfigureAwait<T> (this System.Collections.Generic.IAsyncEnumerable<T> source, bool continueOnCapturedContext);
static member ConfigureAwait : System.Collections.Generic.IAsyncEnumerable<'T> * bool -> System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<'T>
<Extension()>
Public Function ConfigureAwait(Of T) (source As IAsyncEnumerable(Of T), continueOnCapturedContext As Boolean) As ConfiguredCancelableAsyncEnumerable(Of T)
형식 매개 변수
- T
반복할 개체의 형식입니다.
매개 변수
- source
- IAsyncEnumerable<T>
반복하는 열거형 원본입니다.
- continueOnCapturedContext
- Boolean
현재 컨텍스트로 캡처하고 마샬링하면 true
이고, 그렇지 않으면 false
입니다.
반환
구성된 열거형입니다.