System.Net.WebSockets.WebSocket.Abort C# (CSharp) Method

Abort() public abstract method

public abstract Abort ( ) : void
return void
        public abstract void Abort();
        public abstract System.Threading.Tasks.Task CloseAsync(System.Net.WebSockets.WebSocketCloseStatus closeStatus, string statusDescription, System.Threading.CancellationToken cancellationToken);

Usage Example

示例#1
0
 public override void Abort()
 {
     if (state == disposed)
     {
         return;
     }
     if (innerWebSocket != null)
     {
         innerWebSocket.Abort();
     }
     Dispose();
 }
All Usage Examples Of System.Net.WebSockets.WebSocket::Abort