System::Net::HttpWebRequest::BeginGetRequestStream 方法

HttpWebRequest::BeginGetRequestStream method

启动异步操作以获取用于向资源写入数据的流。

System::SharedPtr<IAsyncResult> System::Net::HttpWebRequest::BeginGetRequestStream(AsyncCallback callback, System::SharedPtr<Object> state) override
ParameterType描述
回调AsyncCallback操作完成时将被调用的回调函数。
状态System::SharedPtr<Object>用户提供的数据,用于唯一标识每个异步操作。

ReturnValue

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

另见