IsolatedWindowsEnvironment.RegisterMessageReceiver Methode

Definition

Veraltet. Registrieren des Nachrichtenempfängerrückrufs.

public:
 virtual void RegisterMessageReceiver(Platform::Guid receiverId, MessageReceivedCallback ^ messageReceivedCallback) = RegisterMessageReceiver;
void RegisterMessageReceiver(winrt::guid const& receiverId, MessageReceivedCallback const& messageReceivedCallback);
/// [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 RegisterMessageReceiver(winrt::guid const& receiverId, MessageReceivedCallback const& messageReceivedCallback);
public void RegisterMessageReceiver(Guid receiverId, MessageReceivedCallback messageReceivedCallback);
[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 RegisterMessageReceiver(Guid receiverId, MessageReceivedCallback messageReceivedCallback);
function registerMessageReceiver(receiverId, messageReceivedCallback)
Public Sub RegisterMessageReceiver (receiverId As Guid, messageReceivedCallback As MessageReceivedCallback)

Parameter

receiverId
Guid

Platform::Guid

winrt::guid

GUID für Nachrichtenempfänger.

messageReceivedCallback
MessageReceivedCallback

Rückruffunktion messageReceivedCallback

Attribute

Hinweise

Warnung

Dies ist eine veraltete API.

Gilt für: