C# 클래스 RabbitLink.Internals.Async.TaskExtensions

파일 보기 프로젝트 열기: rabbit-link/rabbit-link

공개 메소드들

메소드 설명
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