CommunicationObject.OnClosed Methode

Definition

Wird während des Übergangs eines Kommunikationsobjekts in den Schließzustand aufgerufen.

protected:
 virtual void OnClosed();
protected virtual void OnClosed ();
abstract member OnClosed : unit -> unit
override this.OnClosed : unit -> unit
Protected Overridable Sub OnClosed ()

Hinweise

Die Close-Methode ruft OnClosed auf, wenn das Kommunikationsobjekt sich zu Beginn im Opened-Zustand befindet.

Die EndClose-Methode ruft OnClosed (und OnEndClose(IAsyncResult)) auf, wenn das Kommunikationsobjekt sich nicht bereits in einem Closed-Zustand befindet.

Gilt für