Assembly: System (in system.dll)
'Declaration Public Overrides Function BeginGetRequestStream ( _ callback As AsyncCallback, _ state As Object _ ) As IAsyncResult 'Usage Dim instance As FtpWebRequest Dim callback As AsyncCallback Dim state As Object Dim returnValue As IAsyncResult returnValue = instance.BeginGetRequestStream(callback, state)
public override function BeginGetRequestStream ( callback : AsyncCallback, state : Object ) : IAsyncResult
An AsyncCallback delegate that references the method to invoke when the operation is complete.
A user-defined object that contains information about the operation. This object is passed to the callback delegate when the operation completes.
Return ValueAn IAsyncResult instance that indicates the status of the operation.
You must complete the asynchronous operation by calling the EndGetRequestStream method. Typically, EndGetRequestStream 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 GetRequestStream in place of this method.
For detailed information about using the asynchronous programming model, see Calling Synchronous Methods Asynchronously.
This member outputs trace information when you enable network tracing in your application. For more information, see Network Tracing.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.