CommunicationObject.ThrowIfDisposed Methode

Definition

Löst eine Ausnahme aus, wenn das Kommunikationsobjekt verworfen wird.

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

Ausnahmen

Das Kommunikationsobjekt befindet sich in einem Closing oder Closed einem Zustand.

Das Kommunikationsobjekt befindet sich in einem Faulted Zustand.

Hinweise

Es wird keine Ausnahme ausgelöst, wenn sich das Kommunikationsobjekt in einem CreatedOder OpeningOpened Zustand befindet. Ein Kommunikationsobjekt wird einmal Close gelöscht.

Gilt für: