IsolatedWindowsEnvironment.UnregisterMessageReceiver(Guid) 方法

定义

已弃用。 取消注册消息接收方回调。

public:
 virtual void UnregisterMessageReceiver(Platform::Guid receiverId) = UnregisterMessageReceiver;
void UnregisterMessageReceiver(winrt::guid const& receiverId);
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironment is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
void UnregisterMessageReceiver(winrt::guid const& receiverId);
public void UnregisterMessageReceiver(Guid receiverId);
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironment is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
public void UnregisterMessageReceiver(Guid receiverId);
function unregisterMessageReceiver(receiverId)
Public Sub UnregisterMessageReceiver (receiverId As Guid)

参数

receiverId
Guid

Platform::Guid

winrt::guid

消息接收器的 GUID。

属性

注解

警告

这是一个已弃用的 API。

适用于