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 对象时引发。

适用于