Edit

Share via


AspNetWebSocket.Abort Method

Definition

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.

public:
 override void Abort();
public override void Abort ();
override this.Abort : unit -> unit
Public Overrides Sub Abort ()

Exceptions

The object was previously disposed.

Remarks

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

Applies to