AsyncAutoResetEvent.WaitAsync Method
Returns an awaitable that may be used to acquire the next signal asynchronously.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Function WaitAsync As Task
public Task WaitAsync()
public:
Task^ WaitAsync()
member WaitAsync : unit -> Task
public function WaitAsync() : Task
Return Value
Type: System.Threading.Tasks.Task
Returns Task.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.