CommunicationObject.OnClosed Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invoked during the transition of a communication object into the closing state.
protected:
virtual void OnClosed();
protected virtual void OnClosed ();
abstract member OnClosed : unit -> unit
override this.OnClosed : unit -> unit
Protected Overridable Sub OnClosed ()
Remarks
The Close method calls OnClosed if the communication object is initially in the Opened state.
The EndClose method calls OnClosed (and OnEndClose(IAsyncResult) if the communication object is not already in a Closed state.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.