Condividi tramite


HybridConnectionStream.Shutdown Method

Definition

Initiates a graceful close process by shutting down sending through this HybridConnectionStream. To disconnect cleanly and asynchronously, call Shutdown, wait for Read/ReadAsync to complete with a 0 byte read, then finally call Stream.Close();

public virtual void Shutdown ();
abstract member Shutdown : unit -> unit
override this.Shutdown : unit -> unit
Public Overridable Sub Shutdown ()

Applies to