Task.IAsyncResult.AsyncWaitHandle Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a WaitHandle that can be used to wait for the task to complete.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.Threading.WaitHandleA WaitHandle that can be used to wait for the task to complete.
Implements
IAsyncResult.AsyncWaitHandle| Exception | Condition |
|---|---|
| ObjectDisposedException | The Task has been disposed. |
Using the wait functionality provided by Wait should be preferred over using AsyncWaitHandle for similar functionality. For more information, see [79cb522b-9c93-46ed-b23a-c06908f3a374] and [7add905b-ff60-4353-af79-5089038d9a08].
Show: