C# Класс RabbitLink.Internals.Async.TaskExtensions

Показать файл Открыть проект

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

Метод Описание
WaitAndUnwrapException ( Task task ) : void

Waits for the task to complete, unwrapping any exceptions.

WaitAndUnwrapException ( Task task ) : TResult

Waits for the task to complete, unwrapping any exceptions.

WaitCancellation ( CancellationToken token ) : Task

Creates Task which will be completed on token cancel

WaitWithoutException ( Task task ) : void

Waits for the task to complete, but does not raise task exceptions. The task exception (if any) is unobserved.

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

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

Waits for the task to complete, unwrapping any exceptions.
public static WaitAndUnwrapException ( Task task ) : void
task Task The task. May not be null.
Результат void

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

Waits for the task to complete, unwrapping any exceptions.
public static WaitAndUnwrapException ( Task task ) : TResult
task Task The task. May not be null.
Результат TResult

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

Creates Task which will be completed on token cancel
public static WaitCancellation ( CancellationToken token ) : Task
token CancellationToken token watch on
Результат Task

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

Waits for the task to complete, but does not raise task exceptions. The task exception (if any) is unobserved.
public static WaitWithoutException ( Task task ) : void
task Task The task. May not be null.
Результат void