C# 클래스 Renci.SshNet.Common.AsyncResult

Base class to encapsulates the results of an asynchronous operation.
상속: IAsyncResult
파일 보기 프로젝트 열기: sshnet/SSH.NET

공개 메소드들

메소드 설명
EndInvoke ( ) : void

Waits until the asynchronous operation completes, and then returns.

SetAsCompleted ( Exception exception, bool completedSynchronously ) : void

Marks asynchronous operation as completed.

보호된 메소드들

메소드 설명
AsyncResult ( AsyncCallback asyncCallback, object state ) : System

Initializes a new instance of the AsyncResult class.

메소드 상세

AsyncResult() 보호된 메소드

Initializes a new instance of the AsyncResult class.
protected AsyncResult ( AsyncCallback asyncCallback, object state ) : System
asyncCallback AsyncCallback The async callback.
state object The state.
리턴 System

EndInvoke() 공개 메소드

Waits until the asynchronous operation completes, and then returns.
public EndInvoke ( ) : void
리턴 void

SetAsCompleted() 공개 메소드

Marks asynchronous operation as completed.
public SetAsCompleted ( Exception exception, bool completedSynchronously ) : void
exception System.Exception The exception.
completedSynchronously bool if set to true [completed synchronously].
리턴 void