C# 클래스 WinRTXamlToolkit.Async.AsyncLock

Defines a critical section with a mutual-exclusion lock.
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit 1 사용 예제들

공개 메소드들

메소드 설명
AsyncLock ( ) : System

Initializes a new instance of the AsyncLock class.

LockAsync ( ) : Task

Waits for an open slot, then returns a disposable Releaser struct to be used in a using block marking the critical section.

메소드 상세

AsyncLock() 공개 메소드

Initializes a new instance of the AsyncLock class.
public AsyncLock ( ) : System
리턴 System

LockAsync() 공개 메소드

Waits for an open slot, then returns a disposable Releaser struct to be used in a using block marking the critical section.
public LockAsync ( ) : Task
리턴 Task