Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Task<TResult>::Wait Method

 

Namespace:   System.Threading.Tasks
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodWait()

Waits for the Task to complete execution.(Inherited from Task.)

System_CAPS_pubmethodWait(CancellationToken)

Waits for the Task to complete execution. The wait terminates if a cancellation token is canceled before the task completes. (Inherited from Task.)

System_CAPS_pubmethodWait(Int32)

Waits for the Task to complete execution within a specified number of milliseconds.(Inherited from Task.)

System_CAPS_pubmethodWait(Int32, CancellationToken)

Waits for the Task to complete execution. The wait terminates if a timeout interval elapses or a cancellation token is canceled before the task completes. (Inherited from Task.)

System_CAPS_pubmethodWait(TimeSpan)

Waits for the Task to complete execution within a specified time interval.(Inherited from Task.)

Return to top
Show:
© 2017 Microsoft