C# 클래스 GS.Common.IO.AsyncJob

Internal class, wraps Overlapped structure, completion port callback and IAsyncResult
상속: IAsyncResult, IDisposable
파일 보기 프로젝트 열기: Gainedge/BetterExplorer 1 사용 예제들

공개 메소드들

메소드 설명
AsyncJob ( AsyncCallback callback, object state, System.UInt64 fileOffset, object userData ) : System

Create instance, automatically allocates NativeOverlapped structure

CompleteSynchronously ( ) : void
Dispose ( ) : void
WaitForCompletion ( ) : void

비공개 메소드들

메소드 설명
completionCallback ( uint errorCode, uint numBytes, NativeOverlapped pOVERLAP ) : void

메소드 상세

AsyncJob() 공개 메소드

Create instance, automatically allocates NativeOverlapped structure
public AsyncJob ( AsyncCallback callback, object state, System.UInt64 fileOffset, object userData ) : System
callback AsyncCallback User specified callback
state object User specified state
fileOffset System.UInt64 Start position
userData object An object or array of objects representing the input or output buffer for the operation. Buffer is pinned until object is disposed.
리턴 System

CompleteSynchronously() 공개 메소드

public CompleteSynchronously ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

WaitForCompletion() 공개 메소드

public WaitForCompletion ( ) : void
리턴 void