共用方式為


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。

適用於