Begins sending a request and receiving a response from an FTP server asynchronously.
| C# | Visual Basic |
public override IAsyncResult BeginGetResponse( AsyncCallback callback, Object state )
Public Overrides Function BeginGetResponse ( _ callback As AsyncCallback, _ state As Object _ ) As IAsyncResult
- callback (AsyncCallback)
- An AsyncCallback delegate that references the method to invoke when the operation is complete.
- state (Object)
- 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.