CommunicationObject.OnClosing 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 OnClosing();
protected virtual void OnClosing ();
abstract member OnClosing : unit -> unit
override this.OnClosing : unit -> unit
Protected Overridable Sub OnClosing ()
Remarks
The Close method calls OnClosing if the communication object is initially in the Opened state.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.