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)

ShellExecute, Launcher.LaunchFileAsync 또는 명령줄을 통해 지정된 파일 형식이 열릴 때 앱을 활성화하도록 등록합니다.

RegisterForProtocolActivation(String, String, String, String)

ShellExecute, Launcher.LaunchUriAsync 또는 명령줄을 통해 지정된 URI 스키마가 실행될 때 앱을 활성화하도록 등록합니다.

RegisterForStartupActivation(String, String)

레지스트리 키 또는 잘 알려진 시작 폴더의 바로 가기 때문에 사용자가 Windows OS에 로그인하여 앱을 시작할 때 앱을 활성화하도록 등록합니다.

UnregisterForFileTypeActivation(String[], String)

RegisterForFileTypeActivation 메서드를 사용하여 이전에 등록된 파일 형식 활성화를 등록 취소합니다.

UnregisterForProtocolActivation(String, String)

RegisterForProtocolActivation 메서드를 사용하여 이전에 등록된 프로토콜 활성화를 등록 취소합니다.

UnregisterForStartupActivation(String)

RegisterForStartupActivation 메서드를 사용하여 이전에 등록된 시작 활성화를 등록 취소합니다.

적용 대상

추가 정보