TaskHelpers.WaitForCompletion Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WaitForCompletion(Task) | |
WaitForCompletion<TResult>(Task<TResult>) |
WaitForCompletion(Task)
- Source:
- TaskHelpers.cs
- Source:
- TaskHelpers.cs
- Source:
- TaskHelpers.cs
public:
[System::Runtime::CompilerServices::Extension]
static void WaitForCompletion(System::Threading::Tasks::Task ^ task);
public static void WaitForCompletion (this System.Threading.Tasks.Task task);
static member WaitForCompletion : System.Threading.Tasks.Task -> unit
<Extension()>
Public Sub WaitForCompletion (task As Task)
Parameters
- task
- Task
Applies to
WaitForCompletion<TResult>(Task<TResult>)
- Source:
- TaskHelpers.cs
- Source:
- TaskHelpers.cs
- Source:
- TaskHelpers.cs
public:
generic <typename TResult>
[System::Runtime::CompilerServices::Extension]
static TResult WaitForCompletion(System::Threading::Tasks::Task<TResult> ^ task);
public static TResult WaitForCompletion<TResult> (this System.Threading.Tasks.Task<TResult> task);
static member WaitForCompletion : System.Threading.Tasks.Task<'Result> -> 'Result
<Extension()>
Public Function WaitForCompletion(Of TResult) (task As Task(Of TResult)) As TResult
Type Parameters
- TResult
Parameters
- task
- Task<TResult>
Returns
TResult
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.