- callback
- An AsyncCallback delegate that references the method to invoke when the operation is complete.
- state
- A user-defined object that contains information about the operation. This object is passed to the callback delegate when the operation completes.
An IAsyncResult instance that indicates the status of the operation.
You must complete the asynchronous operation by calling the FtpWebRequest.EndGetRequestStream(IAsyncResult) method. Typically, FtpWebRequest.EndGetRequestStream(IAsyncResult) is called by the method referenced by callback. To determine the state of the operation, check the properties in the IAsyncResult object returned by this method.
This method does not block while waiting for the stream. To block, call FtpWebRequest.GetRequestStream in place of this method.
For detailed information about using the asynchronous programming model, see [<topic://cpovrAsynchronousProgrammingOverview>].
This member outputs trace information when you enable network tracing in your application. For more information, see [<topic://conUsingNetworkTracing>].