IsolatedWindowsEnvironment.RegisterMessageReceiver Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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.