AsyncCountdownEvent.SignalAndWaitAsync Method
Decrements the counter by one and returns an awaitable that executes the continuation when the counter reaches zero.
Namespace: Microsoft.VisualStudio.Threading
Assembly: Microsoft.VisualStudio.Threading (in Microsoft.VisualStudio.Threading.dll)
Syntax
'Declaration
Public Function SignalAndWaitAsync As Task
public Task SignalAndWaitAsync()
public:
Task^ SignalAndWaitAsync()
member SignalAndWaitAsync : unit -> Task
public function SignalAndWaitAsync() : 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.