C# 클래스 Opc.Ua.AsyncResultBase

A base class for AsyncResult objects
상속: IAsyncResult, IDisposable
파일 보기 프로젝트 열기: OPCFoundation/Misc-Tools 1 사용 예제들

공개 메소드들

메소드 설명
AsyncResultBase ( AsyncCallback callback, object callbackData, int timeout ) : System

Initializes a new instance of the AsyncResultBase class.

Dispose ( ) : void

Frees any unmanaged resources.

OperationCompleted ( ) : void

Called to invoke the callback after the asynchronous operation completes.

WaitForComplete ( ) : bool

Waits for the operation to complete.

WaitForComplete ( IAsyncResult ar ) : void

Waits for the operation to complete.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

비공개 메소드들

메소드 설명
OnTimeout ( object state ) : void

Called when the operation times out.

메소드 상세

AsyncResultBase() 공개 메소드

Initializes a new instance of the AsyncResultBase class.
public AsyncResultBase ( AsyncCallback callback, object callbackData, int timeout ) : System
callback AsyncCallback The callback to use when the operation completes.
callbackData object The callback data.
timeout int The timeout for the operation.
리턴 System

Dispose() 공개 메소드

Frees any unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

OperationCompleted() 공개 메소드

Called to invoke the callback after the asynchronous operation completes.
public OperationCompleted ( ) : void
리턴 void

WaitForComplete() 공개 메소드

Waits for the operation to complete.
public WaitForComplete ( ) : bool
리턴 bool

WaitForComplete() 공개 정적인 메소드

Waits for the operation to complete.
public static WaitForComplete ( IAsyncResult ar ) : void
ar IAsyncResult The result object returned from the Begin method.
리턴 void