C# Class Microsoft.Common.Core.Tasks.CancellationTokenUtilities

Mostrar archivo Open project: Microsoft/RTVS

Public Methods

Method Description
Link ( CancellationToken &ct1, CancellationToken ct2 ) : CancellationTokenSource
UnregisterOnCompletion ( this registration, Task task ) : void

Private Methods

Method Description
UnregisterCancellationToken ( Task task, object state ) : void

Method Details

Link() public static method

public static Link ( CancellationToken &ct1, CancellationToken ct2 ) : CancellationTokenSource
ct1 System.Threading.CancellationToken
ct2 System.Threading.CancellationToken
return System.Threading.CancellationTokenSource

UnregisterOnCompletion() public static method

public static UnregisterOnCompletion ( this registration, Task task ) : void
registration this
task Task
return void