IsolatedWindowsEnvironment.UnregisterMessageReceiver(Guid) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
已弃用。 取消注册消息接收方回调。
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。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈