BeginGetRequestStream()

WebRequest::BeginGetRequestStream(AsyncCallback, System::SharedPtr<Object>) method

Initiates an asynchronous operation to get a stream for writing data to the resource.

virtual System::SharedPtr<IAsyncResult> System::Net::WebRequest::BeginGetRequestStream(AsyncCallback callback, System::SharedPtr<Object> state)=0

Arguments

ParameterTypeDescription
callbackAsyncCallbackA callback to be called when the operation completes.
stateSystem::SharedPtr<Object>User-provided data used to uniquely identify each asynchronous operation.

Return Value

An IAsyncResult object representing the initiated asynchronous operation.

See Also