ClientWebSocket.Abort Method

Definition

Aborts the connection and cancels any pending IO operations.

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

Remarks

The ClientWebSocket cannot be reused once it is aborted.

Applies to