MSDN Library
信息
您所需的主题如下所示。但此主题未包含在此库中。

Windows.ApplicationModel.Activation Namespace

使应用程序处理由 Windows 支持的激活协定、约会和扩展的激活参数。

成员

Windows.ApplicationModel.Activation命名空间 具有这些类型的成员:

Windows.ApplicationModel.Activation命名空间 具有这些类。

说明
AppointmentsProviderAddAppointmentActivatedEventArgs Provides data when an app is activated to add an appointment to the user’s calendar.
AppointmentsProviderRemoveAppointmentActivatedEventArgs Provides data when an app is activated to remove an appointment from the user’s calendar.
AppointmentsProviderReplaceAppointmentActivatedEventArgs Provides data when an app is activated to replace an appointment in the user’s calendar.
AppointmentsProviderShowTimeFrameActivatedEventArgs Provides data when an app is activated to show a specified time frame on the user’s calendar.
CachedFileUpdaterActivatedEventArgs Provides information about the activated event that fires when the user saves or opens a file that needs updates from the app.
CameraSettingsActivatedEventArgs Enables a camera settings app to handle the activation parameters for the app.
ContactCallActivatedEventArgs Provides data when an app is activated to call a contact.
ContactMapActivatedEventArgs Provides data when an app is activated to map a contact.
ContactMessageActivatedEventArgs Provides data when an app is activated to send a message to a contact.
ContactPickerActivatedEventArgs Provides data when an app is activated because it uses the Contact Picker.
ContactPostActivatedEventArgs Provides data when an app is activated to post a contact.
ContactVideoCallActivatedEventArgs Provides data when an app is activated to video call a contact.
DeviceActivatedEventArgs Provides information for a device that invokes AutoPlay.
FileActivatedEventArgs Provides data when an app is activated because it is the app associated with a file.
FileOpenPickerActivatedEventArgs Provides information about an activated event that fires when the user tries to pick files or folders that are provided by the app.
FileSavePickerActivatedEventArgs Provides information about an activated event that fires when the user saves a file through the file picker and selects the app as the location.
LaunchActivatedEventArgs Provides event information when an app is launched.
LockScreenCallActivatedEventArgs Provides event information when communication to and from the lock screen is required.
PrintTaskSettingsActivatedEventArgs Provides information in response to the event that is raised when print task settings are activated.
ProtocolActivatedEventArgs Provides data when an app is activated because it is the app associated with a URI scheme name.
RestrictedLaunchActivatedEventArgs Provides event information when a restricted app is launched.
SearchActivatedEventArgs Provides information about the activated event that fires when the user searches the app from the Search charm and the app isn't the main app on screen.
ShareTargetActivatedEventArgs Provides information for an application that is a target for share operations.
SplashScreen Provides a dismissal event and image location information for the app's splash screen.

 

枚举

Windows.ApplicationModel.Activation命名空间 具有这些枚举。

Enumeration说明
ActivationKind Specifies the type of activation.
ApplicationExecutionState Specifies the execution state of the app.

 

接口

Windows.ApplicationModel.Activation命名空间 定义这些接口。

接口说明
IActivatedEventArgs Provides common properties for all activation types.
IApplicationViewActivatedEventArgs Provides data when an app is activated to show its current view.
IAppointmentsProviderActivatedEventArgs Provides data when an app is activated.
IAppointmentsProviderAddAppointmentActivatedEventArgs Provides data when an app is activated to add an appointment to the user’s calendar.
IAppointmentsProviderRemoveAppointmentActivatedEventArgs Provides data when an app is activated to remove an appointment from the user’s calendar.
IAppointmentsProviderReplaceAppointmentActivatedEventArgs Provides data when an app is activated to replace an appointment in the user’s calendar.
IAppointmentsProviderShowTimeFrameActivatedEventArgs Provides data when an app is activated to show a specified time frame on the user’s calendar.
ICachedFileUpdaterActivatedEventArgs Provides information about the activated event that fires when the user saves a file that requires content management from the app.
ICameraSettingsActivatedEventArgs Enables a camera settings app to handle the activation parameters for the app.
IContactActivatedEventArgs Provides information about an activated event that fires when the user manages a contact.
IContactCallActivatedEventArgs Provides data when an app is activated to call a contact.
IContactMapActivatedEventArgs Provides data when an app is activated to map a contact.
IContactMessageActivatedEventArgs Provides data when an app is activated to send a message a contact.
IContactPickerActivatedEventArgs Provides data when an app is activated because it uses the Contact Picker.
IContactPostActivatedEventArgs Provides data when an app is activated to post a contact.
IContactsProviderActivatedEventArgs Provides information about an activated event that fires when the user manages a contact that is provided by the app.
IContactVideoCallActivatedEventArgs Provides data when an app is activated to video call a contact.
IDeviceActivatedEventArgs Provides information for a device that invokes AutoPlay.
IFileActivatedEventArgs Provides data when an app is activated because it is the program associated with a file.
IFileActivatedEventArgsWithNeighboringFiles Provides data when an app is activated because it is the program associated with the neighboring files.
IFileOpenPickerActivatedEventArgs Provides information about the activated event that fires when the user tries to pick files or folders that are provided by the app.
IFileSavePickerActivatedEventArgs Provides information about the activated event that fires when the user saves a file through the file picker and selects the app as the location.
ILaunchActivatedEventArgs Provides event information when an app is launched.
ILockScreenCallActivatedEventArgs Provides event information when communication to and from the lock screen is required.
IPrintTaskSettingsActivatedEventArgs Provides information in response to the event that is raised when print task settings are activated.
IProtocolActivatedEventArgs Provides data when an app is activated because it is the program associated with a protocol.
IRestrictedLaunchActivatedEventArgs Provides event information when a restricted app is launched.
ISearchActivatedEventArgs Provides information about the activated event that fires when an app is used to search.
ISearchActivatedEventArgsWithLinguisticDetails Provides information about the activated event that fires when an app is used to query text.
IShareTargetActivatedEventArgs Provides information for an application that is a target for share operations.

 

要求

最低支持客户端

Windows 8

最低支持服务器

Windows Server 2012

最低支持电话

Windows Phone 8

命名空间

Windows.ApplicationModel.Activation
Windows::ApplicationModel::Activation [C++]

元数据

Windows.winmd

另请参见

概念
应用程序协定和扩展
应用程序生命周期
示例
处理联系人操作示例
使用 WRL 示例激活、继续、然后挂起应用程序

 

 

显示:
© 2016 Microsoft