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。