System.Net.FtpWebRequest.Abort Method

Terminates an asynchronous FTP operation.

Syntax

public override void Abort ()

Remarks

If there is no operation in progress, this method does nothing. If a file transfer is in progress, this method terminates the transfer.

Note:

This member outputs trace information when you enable network tracing in your application. For more information, see [<topic://conUsingNetworkTracing>].

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0