C# Класс Microsoft.Async.Transformations.Windows.AsyncTransformExtensions

A set of extensions for asynchronous functions.
Показать файл Открыть проект

Открытые методы

Метод Описание
OnDispatcher ( Task>.this asyncFunc ) : Task>.Func

Converts a asynchronous function into one that is guaranteed to be called on a dispatcher thread.

OnDispatcher ( Task>.this asyncFunc, CoreDispatcherPriority priority ) : Task>.Func

Converts a asynchronous function into one that is guaranteed to be called on a dispatcher thread.

Описание методов

OnDispatcher() публичный статический Метод

Converts a asynchronous function into one that is guaranteed to be called on a dispatcher thread.
public static OnDispatcher ( Task>.this asyncFunc ) : Task>.Func
asyncFunc Task>.this The asynchronous function.
Результат Task>.Func

OnDispatcher() публичный статический Метод

Converts a asynchronous function into one that is guaranteed to be called on a dispatcher thread.
public static OnDispatcher ( Task>.this asyncFunc, CoreDispatcherPriority priority ) : Task>.Func
asyncFunc Task>.this The asynchronous function.
priority CoreDispatcherPriority The dispatcher priority.
Результат Task>.Func