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

定義

通信オブジェクトが Opened 状態ではない場合に、例外をスローします。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 ()

例外

通信オブジェクトは、Created 状態または Opening 状態ではなく、使用できません。The communication object is not in a Created or Opening state and cannot be used.

通信オブジェクトは、Closing 状態または Closed 状態であり、変更できません。The communication object is in a Closing or Closed state and cannot be modified.

通信オブジェクトは、Faulted 状態であり、変更できません。The communication object is in a Faulted state and cannot be modified.

適用対象