Cancels an asynchronous FTP request.
Namespace:
Rebex.Net
Assembly:
Rebex.Ftp (in Rebex.Ftp.dll)
Syntax
| Visual Basic |
|---|
Public Overrides Sub Abort |
| C# |
|---|
public override void Abort() |
Remarks
Abort cancels an asynchronous FTP request. After a request is canceled, calling
GetResponse()()()(), BeginGetResponse(AsyncCallback, Object), EndGetResponse(IAsyncResult), GetRequestStream()()()(),
BeginGetRequestStream(AsyncCallback, Object), or EndGetRequestStream(IAsyncResult) will cause a WebException
with Status set to RequestCanceled.