Redigeeri

Jagamisviis:


CommunicationObject.ThrowIfDisposedOrNotOpen Method

Definition

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

protected public:
 void ThrowIfDisposedOrNotOpen();
protected internal void ThrowIfDisposedOrNotOpen ();
member this.ThrowIfDisposedOrNotOpen : unit -> unit
Protected Friend Sub ThrowIfDisposedOrNotOpen ()

Exceptions

The communication object is not in a Created or Opening state and cannot be used.

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

The communication object is in a Faulted state and cannot be modified.

Applies to