共用方式為


ICoreApplicationExit interface

Provides the means for Windows Store apps to stop running.

Members

The ICoreApplicationExit interface inherits from the IUnknown interface. ICoreApplicationExit also has these types of members:

  • Methods

Methods

The ICoreApplicationExit interface has these methods.

Method Description
add_Exiting

Adds an event handler for the Exiting event.

Exit

Shuts down the app.

remove_Exiting

Removes the specified event handler for the Exiting event.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.ApplicationModel.Core.h

IDL

Windows.ApplicationModel.Core.idl