C# Class Microsoft.Common.Core.Threading.AsyncManualResetEvent

Async version of the ManualResetEvent
Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Méthodes publiques

Méthode Description
AsyncManualResetEvent ( bool isSet = false ) : System.Threading
Reset ( ) : void
Set ( ) : void
WaitAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task

Private Methods

Méthode Description
CancelTcs ( object obj ) : void
WaitContinuation ( Task task, object state ) : void

Method Details

AsyncManualResetEvent() public méthode

public AsyncManualResetEvent ( bool isSet = false ) : System.Threading
isSet bool
Résultat System.Threading

Reset() public méthode

public Reset ( ) : void
Résultat void

Set() public méthode

public Set ( ) : void
Résultat void

WaitAsync() public méthode

public WaitAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
cancellationToken System.Threading.CancellationToken
Résultat Task