C# 클래스 System.ComponentModel.Async

Represents an asynchronous result and the associated task that produces the result.
상속: System.ComponentModel.Model
파일 보기 프로젝트 열기: nikhilk/silverlightfx 1 사용 예제들

공개 메소드들

메소드 설명
Cancel ( ) : void

Cancels the completion of the associated task.

Complete ( Exception error ) : void

Completes the associated task with the specified error.

MarkErrorAsHandled ( ) : void

Marks the error as handled.

보호된 메소드들

메소드 설명
Complete ( object result ) : void

Completes the associated task with the specified result.

비공개 메소드들

메소드 설명
Async ( bool supportsCancel ) : System
CancelCore ( ) : void
Complete ( object result, Exception error ) : void
GetDefaultResult ( ) : object

메소드 상세

Cancel() 공개 메소드

Cancels the completion of the associated task.
public Cancel ( ) : void
리턴 void

Complete() 공개 메소드

Completes the associated task with the specified error.
public Complete ( Exception error ) : void
error Exception The error that occurred while completing the task.
리턴 void

Complete() 보호된 메소드

Completes the associated task with the specified result.
protected Complete ( object result ) : void
result object The result of completing the task.
리턴 void

MarkErrorAsHandled() 공개 메소드

Marks the error as handled.
public MarkErrorAsHandled ( ) : void
리턴 void