Share via


ActivationRegistrationManager Class

Definition

Provides static methods you can use to register and unregister for certain types of activations for your app.

public ref class ActivationRegistrationManager abstract sealed
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Version(1)]
class ActivationRegistrationManager final
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.AppLifecycle.AppLifecycleContract, 65536)]
class ActivationRegistrationManager final
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public static class ActivationRegistrationManager
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AppLifecycle.AppLifecycleContract), 65536)]
public static class ActivationRegistrationManager
Public Class ActivationRegistrationManager
Inheritance
Object Platform::Object IInspectable ActivationRegistrationManager
Attributes

Examples

For code examples that demonstrsate how to use this class, see Rich activation.

Remarks

For more information about using this class, see Rich activation.

Methods

RegisterForFileTypeActivation(String[], String, String, String[], String)

Registers to activate the app when the specified file type is opened via ShellExecute, Launcher.LaunchFileAsync, or the command-line.

RegisterForProtocolActivation(String, String, String, String)

Registers to activate the app when the specified URI scheme is executed via ShellExecute, Launcher.LaunchUriAsync, or the command-line.

RegisterForStartupActivation(String, String)

Registers to activate the app when when the app is started by the user logging into the Windows OS, either because of a registry key, or because of a shortcut in a well-known startup folder.

UnregisterForFileTypeActivation(String[], String)

Unregisters a file type activation that was registered earlier by using the RegisterForFileTypeActivation method.

UnregisterForProtocolActivation(String, String)

Unregisters a protocol activation that was registered earlier by using the RegisterForProtocolActivation method.

UnregisterForStartupActivation(String)

Unregisters a startup activation that was registered earlier by using the RegisterForStartupActivation method.

Applies to

See also