HttpWorkerRequest.BeginRead 메서드

정의

요청 엔터티 본문의 비동기 읽기 작업을 시작합니다.

public:
 virtual IAsyncResult ^ BeginRead(cli::array <System::Byte> ^ buffer, int offset, int count, AsyncCallback ^ callback, System::Object ^ state);
public virtual IAsyncResult BeginRead (byte[] buffer, int offset, int count, AsyncCallback callback, object state);
abstract member BeginRead : byte[] * int * int * AsyncCallback * obj -> IAsyncResult
override this.BeginRead : byte[] * int * int * AsyncCallback * obj -> IAsyncResult
Public Overridable Function BeginRead (buffer As Byte(), offset As Integer, count As Integer, callback As AsyncCallback, state As Object) As IAsyncResult

매개 변수

buffer
Byte[]

데이터를 읽을 버퍼입니다.

offset
Int32

버퍼에서 데이터 쓰기를 시작할 위치의 바이트 오프셋입니다.

count
Int32

읽을 최대 바이트 수입니다.

callback
AsyncCallback

해당 비동기 작업을 완료할 때 호출할 메서드입니다.

state
Object

다른 요청에서 특정 비동기 읽기를 구별하는 사용자 제공 개체입니다.

반환

IAsyncResult

적용 대상