ActivationRegistrationManager クラス

定義

アプリの特定の種類のアクティブ化の登録と登録解除に使用できる静的メソッドを提供します。

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
継承
Object Platform::Object IInspectable ActivationRegistrationManager
属性

このクラスの使用方法を実証するコード例については、「 リッチ アクティブ化」を参照してください。

注釈

このクラスの使用の詳細については、「 リッチ アクティブ化」を参照してください。

メソッド

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

ShellExecuteLauncher.LaunchFileAsync、またはコマンド ラインを使用して、指定したファイルの種類を開いたときにアプリをアクティブ化するために登録します。

RegisterForProtocolActivation(String, String, String, String)

指定した URI スキームが ShellExecuteLauncher.LaunchUriAsync、またはコマンド ラインを使用して実行されるときに、アプリをアクティブ化するために登録します。

RegisterForStartupActivation(String, String)

レジストリ キーまたは既知のスタートアップ フォルダー内のショートカットが原因で、ユーザーが Windows OS にログインしてアプリを起動したときに、アプリをアクティブ化するために登録します。

UnregisterForFileTypeActivation(String[], String)

RegisterForFileTypeActivation メソッドを使用して、以前に登録したファイルの種類のアクティブ化の登録を解除します。

UnregisterForProtocolActivation(String, String)

RegisterForProtocolActivation メソッドを使用して、以前に登録したプロトコルのアクティブ化の登録を解除します。

UnregisterForStartupActivation(String)

RegisterForStartupActivation メソッドを使用して、以前に登録したスタートアップ アクティブ化の登録を解除します。

適用対象

こちらもご覧ください