System::Net::Sockets::NetworkStream::BeginWrite method

NetworkStream::BeginWrite method

비동기 쓰기 작업을 시작합니다.

System::SharedPtr<IAsyncResult> System::Net::Sockets::NetworkStream::BeginWrite(System::ArrayPtr<uint8_t> buffer, int32_t offset, int32_t size, AsyncCallback callback, System::SharedPtr<Object> state) override
매개변수형식설명
버퍼System::ArrayPtr<uint8_t>쓰기 위한 데이터를 포함하는 버퍼.
offsetint32_t지정된 배열에서 바이트 단위의 오프셋입니다.
sizeint32_t쓸 바이트 수.
콜백AsyncCallback작업이 완료될 때 호출되는 콜백입니다.
상태System::SharedPtr<Object>각 비동기 쓰기 작업을 고유하게 식별하는 데 사용되는 사용자 제공 데이터.

ReturnValue

시작된 비동기 쓰기 작업을 나타내는 IAsyncResult 객체.

또 보기