HybridConnectionStream.Shutdown Method ()

 

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();

Namespace:   Microsoft.ServiceBus.Relay
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

Syntax

public virtual void Shutdown()
public:
virtual void Shutdown()
abstract Shutdown : unit -> unit
override Shutdown : unit -> unit
Public Overridable Sub Shutdown

See Also

HybridConnectionStream Class
Microsoft.ServiceBus.Relay Namespace

Return to top