共用方式為


ProtocolForResultsActivatedEventArgs 類別

定義

當應用程式由另一個應用程式啟動時收到,並預期應用程式會將結果傳回給呼叫端。

public ref class ProtocolForResultsActivatedEventArgs sealed : IApplicationViewActivatedEventArgs, IProtocolActivatedEventArgs, IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, IProtocolForResultsActivatedEventArgs, IViewSwitcherProvider
public ref class ProtocolForResultsActivatedEventArgs sealed : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IProtocolActivatedEventArgs, IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, IProtocolForResultsActivatedEventArgs, IViewSwitcherProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ProtocolForResultsActivatedEventArgs final : IApplicationViewActivatedEventArgs, IProtocolActivatedEventArgs, IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, IProtocolForResultsActivatedEventArgs, IViewSwitcherProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ProtocolForResultsActivatedEventArgs final : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IProtocolActivatedEventArgs, IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, IProtocolForResultsActivatedEventArgs, IViewSwitcherProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ProtocolForResultsActivatedEventArgs : IApplicationViewActivatedEventArgs, IProtocolActivatedEventArgs, IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, IProtocolForResultsActivatedEventArgs, IViewSwitcherProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ProtocolForResultsActivatedEventArgs : IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IProtocolActivatedEventArgs, IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, IProtocolForResultsActivatedEventArgs, IViewSwitcherProvider
Public NotInheritable Class ProtocolForResultsActivatedEventArgs
Implements IApplicationViewActivatedEventArgs, IProtocolActivatedEventArgs, IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, IProtocolForResultsActivatedEventArgs, IViewSwitcherProvider
Public NotInheritable Class ProtocolForResultsActivatedEventArgs
Implements IActivatedEventArgsWithUser, IApplicationViewActivatedEventArgs, IProtocolActivatedEventArgs, IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, IProtocolForResultsActivatedEventArgs, IViewSwitcherProvider
繼承
Object Platform::Object IInspectable ProtocolForResultsActivatedEventArgs
屬性
實作

Windows 需求

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

備註

當您實作事件處理常式以回應ActivationKindProtocolForResults時,回應Activated事件的事件處理常式時,您可以存取 ProtocolForResultsActivatedEventArgs 物件。

版本歷程記錄

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

屬性

CallerPackageFamilyName

取得啟動目前應用程式之應用程式的套件系列名稱。

CurrentlyShownApplicationViewId

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

Data

從啟動目前應用程式的應用程式接收的資料。

Kind

取得啟用類型。

PreviousExecutionState

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

ProtocolForResultsOperation

取得 ProtocolForResultsOperation ,您用來表示您的應用程式已準備好返回啟動應用程式以取得結果的應用程式。

SplashScreen

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

Uri

取得用來啟動應用程式的統一資源識別項 (URI) 。

User

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

ViewSwitcher

取得檢視切換器物件,可讓您設定應用程式的檢視。

適用於

另請參閱