CommunicationObject.ThrowIfDisposedOrNotOpen CommunicationObject.ThrowIfDisposedOrNotOpen CommunicationObject.ThrowIfDisposedOrNotOpen CommunicationObject.ThrowIfDisposedOrNotOpen Method

Definition

Throws an exception if the communication object is not in the Opened state.

protected:
 void ThrowIfDisposedOrNotOpen();
protected void ThrowIfDisposedOrNotOpen ();
member this.ThrowIfDisposedOrNotOpen : unit -> unit
Protected Sub ThrowIfDisposedOrNotOpen ()
Exceptions

The communication object is in a Closing or Closed state and cannot be modified.

Applies to