Condividi tramite


IsolatedWindowsHostMessenger Classe

Definizione

Deprecato. Classe di runtime per due metodi: PostMessageToReceivier e 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
Ereditarietà
Object Platform::Object IInspectable IsolatedWindowsHostMessenger
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10, version 2004 (è stato introdotto in 10.0.19041.0)
API contract
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (è stato introdotto in v2.0)

Commenti

Avviso

Si tratta di un'API deprecata.

Metodi

GetFileId(String)

Deprecato. Ottiene un identificatore univoco del file aperto nell'ambiente Windows isolato.

PostMessageToReceiver(Guid, IVectorView<Object>)

Deprecato. Pubblicare un messaggio dall'ambiente Windows isolato al ricevitore registrato sul lato host.

RegisterHostMessageReceiver(Guid, HostMessageReceivedCallback)

Deprecato. Registrare il callback del ricevitore di messaggi host.

UnregisterHostMessageReceiver(Guid)

Deprecato. Annullare la registrazione del callback del ricevitore di messaggi host.

Si applica a