Mono Class Library: System.Net.WebRequest Overview | Members

System.Net.WebRequest.Abort Method

Attempts to cancel an asynchronous request made by the current instance to access a resource. [Edit]

public virtual void Abort ()

Exceptions

TypeReason
NotSupportedExceptionThis method is not overridden in the derived class. [Edit]

Remarks

Operation
As described above.

The System.Net.WebRequest class is abstract and does not provide an implementation for this method. This method throws NotSupportedException.

Note to Inheritors
This method must be overridden by classes that inherit from System.Net.WebRequest to provide this functionality.

Usage
Use this method to cancel an asynchronous operation started with the WebRequest.BeginGetResponse(AsyncCallback, object) method.

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0