IsolatedWindowsHostMessenger Klasse
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. Runtime-Klasse für zwei Methoden: PostMessageToReceivier und getfileid.
public ref class IsolatedWindowsHostMessenger abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class IsolatedWindowsHostMessenger final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsHostMessenger is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
class IsolatedWindowsHostMessenger final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class IsolatedWindowsHostMessenger
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsHostMessenger 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 static class IsolatedWindowsHostMessenger
Public Class IsolatedWindowsHostMessenger
- Vererbung
- Attribute
Windows-Anforderungen
Gerätefamilie |
Windows 10, version 2004 (eingeführt in 10.0.19041.0)
|
API contract |
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (eingeführt in v2.0)
|
Hinweise
Warnung
Dies ist eine veraltete API.
Methoden
GetFileId(String) |
Veraltet. Ruft einen eindeutigen Bezeichner der Datei ab, die in der isolierten Windows-Umgebung geöffnet wird. |
PostMessageToReceiver(Guid, IVectorView<Object>) |
Veraltet. Senden Sie eine Nachricht aus der isolierten Windows-Umgebung an den Empfänger, der auf der Hostseite registriert ist. |
RegisterHostMessageReceiver(Guid, HostMessageReceivedCallback) |
Veraltet. Registrieren des Hostnachrichtenempfänger-Rückrufs. |
UnregisterHostMessageReceiver(Guid) |
Veraltet. Heben Sie die Registrierung des Hostnachrichtenempfänger-Rückrufs auf. |
Gilt für:
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für