ActivationRegistrationManager.UnregisterForProtocolActivation 方法

定义

注销之前使用 RegisterForProtocolActivation 方法注册的协议激活。

public:
 static void UnregisterForProtocolActivation(Platform::String ^ scheme, Platform::String ^ exePath);
/// [Windows.Foundation.Metadata.Experimental]
 static void UnregisterForProtocolActivation(winrt::hstring const& scheme, winrt::hstring const& exePath);
 static void UnregisterForProtocolActivation(winrt::hstring const& scheme, winrt::hstring const& exePath);
[Windows.Foundation.Metadata.Experimental]
public static void UnregisterForProtocolActivation(string scheme, string exePath);
public static void UnregisterForProtocolActivation(string scheme, string exePath);
function unregisterForProtocolActivation(scheme, exePath)
Public Shared Sub UnregisterForProtocolActivation (scheme As String, exePath As String)

参数

scheme
String

Platform::String

winrt::hstring

以前为协议激活注册的 URI 方案。

exePath
String

Platform::String

winrt::hstring

以前为协议激活注册的可执行文件的路径。

属性

适用于

另请参阅