PrintQueueStream.BeginWrite 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
비동기 쓰기 작업을 시작합니다.
public:
override IAsyncResult ^ BeginWrite(cli::array <System::Byte> ^ buffer, int offset, int count, AsyncCallback ^ callback, System::Object ^ state);
public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state);
override this.BeginWrite : byte[] * int * int * AsyncCallback * obj -> IAsyncResult
Public Overrides Function BeginWrite (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입니다.