C# 클래스 WinRTXamlToolkit.Async.AsyncCountdownEvent

Represents a synchronization primitive that is signaled when its count reaches zero.
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit

공개 메소드들

메소드 설명
AsyncCountdownEvent ( int initialCount ) : System

Initializes a new instance of the AsyncCountdownEvent class.

Signal ( ) : void

Registers a signal, decrementing the current count.

SignalAndWait ( ) : Task

Registers a signal, then waits for countdown completion.

WaitAsync ( ) : Task

Waits for the countdown completion signal.

메소드 상세

AsyncCountdownEvent() 공개 메소드

Initializes a new instance of the AsyncCountdownEvent class.
initialCount
public AsyncCountdownEvent ( int initialCount ) : System
initialCount int The initial count.
리턴 System

Signal() 공개 메소드

Registers a signal, decrementing the current count.
public Signal ( ) : void
리턴 void

SignalAndWait() 공개 메소드

Registers a signal, then waits for countdown completion.
public SignalAndWait ( ) : Task
리턴 Task

WaitAsync() 공개 메소드

Waits for the countdown completion signal.
public WaitAsync ( ) : Task
리턴 Task