共用方式為


UserActivityRequestManager 類別

定義

處理外部要求以建立 UserActivity

public ref class UserActivityRequestManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
class UserActivityRequestManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
public sealed class UserActivityRequestManager
Public NotInheritable Class UserActivityRequestManager
繼承
Object Platform::Object IInspectable UserActivityRequestManager
屬性

Windows 需求

裝置系列
Windows 10, version 1803 (已於 10.0.17134.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v6.0 引進)

方法

GetForCurrentView()

取得與目前檢視相關聯的 UserActivityRequestManager

事件

UserActivityRequested

對應用程式提出要求以建立隨選 UserActivity 物件時引發。

適用於