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
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.