Application.OnSessionEnding(SessionEndingCancelEventArgs) 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 SessionEnding event.
protected:
virtual void OnSessionEnding(System::Windows::SessionEndingCancelEventArgs ^ e);
protected virtual void OnSessionEnding (System.Windows.SessionEndingCancelEventArgs e);
abstract member OnSessionEnding : System.Windows.SessionEndingCancelEventArgs -> unit
override this.OnSessionEnding : System.Windows.SessionEndingCancelEventArgs -> unit
Protected Overridable Sub OnSessionEnding (e As SessionEndingCancelEventArgs)
Parameters
A SessionEndingCancelEventArgs that contains the event data.
Remarks
OnSessionEnding raises the SessionEnding event.
A type that derives from Application may override OnSessionEnding. The overridden method must call OnSessionEnding in the base class if SessionEnding needs to be raised.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.