Compartir a través de


AsyncManualResetEvent.GetAwaiter Method

Gets an awaiter that completes when this event is signaled.

Namespace:  Microsoft.VisualStudio.Threading
Assembly:  Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)

Syntax

'Declaration
Public Function GetAwaiter As TaskAwaiter
public TaskAwaiter GetAwaiter()
public:
TaskAwaiter GetAwaiter()
member GetAwaiter : unit -> TaskAwaiter
public function GetAwaiter() : TaskAwaiter

Return Value

Type: System.Runtime.CompilerServices.TaskAwaiter
Returns TaskAwaiter.

.NET Framework Security

See Also

Reference

AsyncManualResetEvent Class

Microsoft.VisualStudio.Threading Namespace