System::Net::Security::SslStream::BeginRead 方法

SslStream::BeginRead method

发起异步读取操作。

System::SharedPtr<IAsyncResult> System::Net::Security::SslStream::BeginRead(System::ArrayPtr<uint8_t> buffer, int32_t offset, int32_t count, AsyncCallback asyncCallback, System::SharedPtr<Object> asyncState) override
参数类型描述
bufferSystem::ArrayPtr<uint8_t>用于读取数据的字节数组。
offsetint32_t指定数组中的字节偏移量。
countint32_t要读取的字节数。
asyncCallbackAsyncCallback操作完成时调用的回调函数。
asyncStateSystem::SharedPtr<Object>用户提供的数据,用于唯一标识每个异步读取操作。

ReturnValue

表示已启动的异步读取操作的 IAsyncResult 对象。

另见