Application.OnExit(ExitEventArgs) 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.
Raises the Exit event.
protected:
virtual void OnExit(System::Windows::ExitEventArgs ^ e);
protected virtual void OnExit (System.Windows.ExitEventArgs e);
abstract member OnExit : System.Windows.ExitEventArgs -> unit
override this.OnExit : System.Windows.ExitEventArgs -> unit
Protected Overridable Sub OnExit (e As ExitEventArgs)
Parameters
An ExitEventArgs that contains the event data.
Remarks
A type that derives from Application may override the OnExit method. The overridden method must call OnExit in the base class if Exit needs to be raised.
Applies to
See also
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.