AspNetWebSocket.Abort Method ()

.NET Framework (current version)

Cancels any pending I/O operations on the AspNetWebSocket object and sets the state of the object so that it cannot be used to start additional I/O operations.

Namespace:   System.Web.WebSockets
Assembly:  System.Web (in System.Web.dll)

public override void Abort()

Exception Condition

The object was previously disposed.

After the Abort method has been called, you can still access properties and methods that do not involve I/O operations.

.NET Framework
Available since 4.5
Return to top