TaskHelpers.WaitForCompletionNoSpin 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
WaitForCompletionNoSpin(Task) | |
WaitForCompletionNoSpin(Task, TimeSpan) | |
WaitForCompletionNoSpin<TResult>(Task<TResult>) |
WaitForCompletionNoSpin(Task)
- Source:
- TaskHelpers.cs
- Source:
- TaskHelpers.cs
- Source:
- TaskHelpers.cs
public:
[System::Runtime::CompilerServices::Extension]
static void WaitForCompletionNoSpin(System::Threading::Tasks::Task ^ task);
public static void WaitForCompletionNoSpin (this System.Threading.Tasks.Task task);
static member WaitForCompletionNoSpin : System.Threading.Tasks.Task -> unit
<Extension()>
Public Sub WaitForCompletionNoSpin (task As Task)
Parameters
- task
- Task
Applies to
WaitForCompletionNoSpin(Task, TimeSpan)
- Source:
- TaskHelpers.cs
- Source:
- TaskHelpers.cs
- Source:
- TaskHelpers.cs
public:
[System::Runtime::CompilerServices::Extension]
static bool WaitForCompletionNoSpin(System::Threading::Tasks::Task ^ task, TimeSpan timeout);
public static bool WaitForCompletionNoSpin (this System.Threading.Tasks.Task task, TimeSpan timeout);
static member WaitForCompletionNoSpin : System.Threading.Tasks.Task * TimeSpan -> bool
<Extension()>
Public Function WaitForCompletionNoSpin (task As Task, timeout As TimeSpan) As Boolean
Parameters
- task
- Task
- timeout
- TimeSpan
Returns
Applies to
WaitForCompletionNoSpin<TResult>(Task<TResult>)
- Source:
- TaskHelpers.cs
- Source:
- TaskHelpers.cs
- Source:
- TaskHelpers.cs
public:
generic <typename TResult>
[System::Runtime::CompilerServices::Extension]
static TResult WaitForCompletionNoSpin(System::Threading::Tasks::Task<TResult> ^ task);
public static TResult WaitForCompletionNoSpin<TResult> (this System.Threading.Tasks.Task<TResult> task);
static member WaitForCompletionNoSpin : System.Threading.Tasks.Task<'Result> -> 'Result
<Extension()>
Public Function WaitForCompletionNoSpin(Of TResult) (task As Task(Of TResult)) As TResult
Type Parameters
- TResult
Parameters
- task
- Task<TResult>
Returns
TResult
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.