Udostępnij za pośrednictwem


UserActivityRequestManager Class

Definition

Handle external requests to create a 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
Inheritance
Object Platform::Object IInspectable UserActivityRequestManager
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Methods

GetForCurrentView()

Gets the UserActivityRequestManager associated with the current view.

Events

UserActivityRequested

Raised when a request is made to the application to create an on-demand UserActivity object.

Applies to