CommunicationObject.ThrowIfDisposed CommunicationObject.ThrowIfDisposed CommunicationObject.ThrowIfDisposed CommunicationObject.ThrowIfDisposed Method

Definition

Throws an exception if the communication object is disposed.

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

Remarks

No exception is thrown if the communication object is in a Created, Opening or Opened state. A communication object is disposed once Close is called on it.

Applies to