IsolatedWindowsHostMessenger.PostMessageToReceiver Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Не рекомендуется. Опубликуем сообщение из изолированной среды Windows получателю, зарегистрированном на стороне узла.
public:
static void PostMessageToReceiver(Platform::Guid receiverId, IVectorView<Platform::Object ^> ^ message);
static void PostMessageToReceiver(winrt::guid const& receiverId, IVectorView<IInspectable> const& message);
/// [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")]
static void PostMessageToReceiver(winrt::guid const& receiverId, IVectorView<IInspectable> const& message);
public static void PostMessageToReceiver(Guid receiverId, IReadOnlyList<object> message);
[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 void PostMessageToReceiver(Guid receiverId, IReadOnlyList<object> message);
function postMessageToReceiver(receiverId, message)
Public Shared Sub PostMessageToReceiver (receiverId As Guid, message As IReadOnlyList(Of Object))
Параметры
- receiverId
-
Guid
Platform::Guid
winrt::guid
GUID для получателя сообщений.
- message
-
IVectorView<Platform::Object>
IVectorView<IInspectable>
IVectorView
- Атрибуты
Комментарии
Предупреждение
Это нерекомендуемый API.