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

Afficher le fichier Open project: Microsoft/RTVS

Méthodes publiques

Méthode Description
SwitchToAsync ( this mainThread, CancellationToken cancellationToken = default(CancellationToken) ) : MainThreadAwaitable

Method Details

SwitchToAsync() public static méthode

public static SwitchToAsync ( this mainThread, CancellationToken cancellationToken = default(CancellationToken) ) : MainThreadAwaitable
mainThread this
cancellationToken System.Threading.CancellationToken
Résultat MainThreadAwaitable