AspNetWebSocket.Abort Método

Definição

Cancela as operações de E/S pendentes no objeto AspNetWebSocket e define o estado do objeto para que ele não possa ser usado para iniciar outras operações de E/S.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 ()

Exceções

O objeto foi descartado anteriormente.The object was previously disposed.

Comentários

Depois que o Abort método tiver sido chamado, você ainda poderá acessar propriedades e métodos que não envolvem operações de e/s.After the Abort method has been called, you can still access properties and methods that do not involve I/O operations.

Aplica-se a