BrotliStream.BeginWrite(Byte[], Int32, Int32, AsyncCallback, Object) 메서드

정의

비동기 쓰기 작업을 시작합니다. (대신 메서드를 WriteAsync(Byte[], Int32, Int32) 사용하는 것이 좋습니다.)

public:
 override IAsyncResult ^ BeginWrite(cli::array <System::Byte> ^ buffer, int offset, int count, AsyncCallback ^ asyncCallback, System::Object ^ asyncState);
public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState);
public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState);
override this.BeginWrite : byte[] * int * int * AsyncCallback * obj -> IAsyncResult
Public Overrides Function BeginWrite (buffer As Byte(), offset As Integer, count As Integer, asyncCallback As AsyncCallback, asyncState As Object) As IAsyncResult

매개 변수

buffer
Byte[]

데이터를 쓸 버퍼입니다.

offset
Int32

스트림에서 데이터 쓰기를 시작할 바이트 오프셋 buffer 입니다.

count
Int32

쓸 최대 바이트 수입니다.

asyncCallback
AsyncCallback

쓰기 작업이 완료될 때 호출할 선택적 비동기 콜백입니다.

asyncState
Object

이 특정 비동기 쓰기 요청을 다른 요청과 구별하는 사용자 제공 개체입니다.

반품

보류 중일 수 있는 비동기 쓰기 작업을 나타내는 개체입니다.

예외

메서드가 스트림의 끝을 지나 비동기적으로 쓰려고 했거나 디스크 오류가 발생했습니다.

하나 이상의 인수가 잘못된 경우

스트림이 닫힌 후 메서드가 호출되었습니다.

현재 BrotliStream 구현은 쓰기 작업을 지원하지 않습니다.

스트림이 닫혀 있으므로 쓰기 작업을 수행할 수 없습니다.

적용 대상