LockScreenActivatedEventArgs 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供當應用程式啟動為鎖定畫面時所發生之事件的相關資訊。
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
- 繼承
- 屬性
- 實作
Windows 需求
裝置系列 |
Windows 10 (已於 10.0.10240.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
|
備註
LockScreenActivatedEventArgs 會傳遞至您針對啟動應用程式作為鎖定畫面時所發生的啟用事件所實作的事件處理常式。
版本歷程記錄
Windows 版本 | SDK 版本 | 新增值 |
---|---|---|
1607 | 14393 | User |
屬性
Info |
取得 物件,允許啟動為鎖定畫面的應用程式取得預設鎖定畫面可以存取的相同資料,以及註冊該資料的更新。 |
Kind |
取得此事件之應用程式啟用的原因。 |
PreviousExecutionState |
取得應用程式在啟動為鎖定畫面之前的應用程式執行狀態。 |
SplashScreen |
取得啟動顯示畫面物件,該物件提供從啟動顯示畫面轉換到啟動之應用程式的相關資訊。 |
User |
取得應用程式已啟用的使用者。 |