LockScreenActivatedEventArgs 类

定义

提供有关将应用激活为锁屏时发生的事件的信息。

public ref class LockScreenActivatedEventArgs sealed : ILockScreenActivatedEventArgs
public ref class LockScreenActivatedEventArgs sealed : IActivatedEventArgsWithUser, ILockScreenActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LockScreenActivatedEventArgs final : ILockScreenActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LockScreenActivatedEventArgs final : IActivatedEventArgsWithUser, ILockScreenActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LockScreenActivatedEventArgs : ILockScreenActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LockScreenActivatedEventArgs : IActivatedEventArgsWithUser, ILockScreenActivatedEventArgs
Public NotInheritable Class LockScreenActivatedEventArgs
Implements ILockScreenActivatedEventArgs
Public NotInheritable Class LockScreenActivatedEventArgs
Implements IActivatedEventArgsWithUser, ILockScreenActivatedEventArgs
继承
Object Platform::Object IInspectable LockScreenActivatedEventArgs
属性
实现

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

LockScreenActivatedEventArgs 将传递给你为激活事件实现的事件处理程序,该事件在将应用激活为锁屏时发生。

版本历史记录

Windows 版本 SDK 版本 增值
1607 14393 用户

属性

Info

获取一个 对象,该对象允许激活为锁屏的应用获取默认锁屏界面可以访问的相同数据,并注册该数据的更新。

Kind

获取此事件的应用激活的原因。

PreviousExecutionState

获取应用激活为锁屏界面之前应用的执行状态。

SplashScreen

获取初始屏幕对象,该对象提供有关从初始屏幕到激活应用转换的信息。

User

获取为其激活应用的用户。

适用于

另请参阅