AspNetWebSocket.Abort Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.