AspNetWebSocket.Abort Method

.NET Framework 4.5

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()


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

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft