共用方式為


WebUIDeviceActivatedEventArgs 類別

定義

提供叫用 AutoPlay 之裝置的資訊。

public ref class WebUIDeviceActivatedEventArgs sealed : IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IActivatedEventArgsDeferral
public ref class WebUIDeviceActivatedEventArgs sealed : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IActivatedEventArgsDeferral
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class WebUIDeviceActivatedEventArgs final : IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IActivatedEventArgsDeferral
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class WebUIDeviceActivatedEventArgs final : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IActivatedEventArgsDeferral
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class WebUIDeviceActivatedEventArgs : IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IActivatedEventArgsDeferral
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class WebUIDeviceActivatedEventArgs : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs, IActivatedEventArgsDeferral
Public NotInheritable Class WebUIDeviceActivatedEventArgs
Implements IActivatedEventArgsDeferral, IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs
Public NotInheritable Class WebUIDeviceActivatedEventArgs
Implements IActivatedEventArgsDeferral, IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IDeviceActivatedEventArgs
繼承
Object Platform::Object IInspectable WebUIDeviceActivatedEventArgs
屬性
實作

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

當您在ActivationKind裝置時實作WinJS.Application.OnactivatedWindows.UI.WebUI.WebUIApplication.activated事件的事件處理常式時,就會存取此物件。

注意

這個類別不是敏捷式的,這表示您需要考慮其執行緒模型和封送處理行為。 如需詳細資訊,請參閱 執行緒和封送處理 (C++/CX)

版本歷程記錄

Windows 版本 SDK 版本 已新增值
1607 14393 User

屬性

ActivatedOperation

取得應用程式啟動的作業。

CurrentlyShownApplicationViewId

取得目前顯示之應用程式檢視的識別碼。

DeviceInformationId

取得叫用 AutoPlay 之裝置的裝置識別碼。

Kind

取得啟用類型。

PreviousExecutionState

取得應用程式啟動前的執行狀態。

SplashScreen

取得啟動顯示畫面物件,提供從啟動顯示畫面轉換至啟動應用程式的相關資訊。

User

取得啟動應用程式的使用者。

Verb

取得與啟動裝置相關聯的動作。

適用於