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

Show file Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
GetAwaiter ( ) : MainThreadAwaiter
MainThreadAwaitable ( IMainThread mainThread, CancellationToken cancellationToken = default(CancellationToken) ) : System.Threading

Method Details

GetAwaiter() public method

public GetAwaiter ( ) : MainThreadAwaiter
return MainThreadAwaiter

MainThreadAwaitable() public method

public MainThreadAwaitable ( IMainThread mainThread, CancellationToken cancellationToken = default(CancellationToken) ) : System.Threading
mainThread IMainThread
cancellationToken System.Threading.CancellationToken
return System.Threading