IsolatedWindowsEnvironment.PostMessageToReceiverAsync 方法

定义

重载

PostMessageToReceiverAsync(Guid, IIterable<Object>, IsolatedWindowsEnvironmentTelemetryParameters)

已弃用。 将消息从主机发布到在独立 Windows 环境端注册的接收方,并与遥测事件相关联。

PostMessageToReceiverAsync(Guid, IIterable<Object>)

已弃用。 将消息从主机发布到在独立 Windows 环境端注册的接收方。

PostMessageToReceiverAsync(Guid, IIterable<Object>, IsolatedWindowsEnvironmentTelemetryParameters)

已弃用。 将消息从主机发布到在独立 Windows 环境端注册的接收方,并与遥测事件相关联。

public:
 virtual IAsyncOperation<IsolatedWindowsEnvironmentPostMessageResult ^> ^ PostMessageToReceiverAsync(Platform::Guid receiverId, IIterable<Platform::Object ^> ^ message, IsolatedWindowsEnvironmentTelemetryParameters ^ telemetryParameters) = PostMessageToReceiverAsync;
/// [Windows.Foundation.Metadata.Overload("PostMessageToReceiverWithTelemetryAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IsolatedWindowsEnvironmentPostMessageResult> PostMessageToReceiverAsync(winrt::guid const& receiverId, IIterable<IInspectable> const& message, IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters);
/// [Windows.Foundation.Metadata.Overload("PostMessageToReceiverWithTelemetryAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [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")]
IAsyncOperation<IsolatedWindowsEnvironmentPostMessageResult> PostMessageToReceiverAsync(winrt::guid const& receiverId, IIterable<IInspectable> const& message, IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters);
[Windows.Foundation.Metadata.Overload("PostMessageToReceiverWithTelemetryAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IsolatedWindowsEnvironmentPostMessageResult> PostMessageToReceiverAsync(Guid receiverId, IEnumerable<object> message, IsolatedWindowsEnvironmentTelemetryParameters telemetryParameters);
[Windows.Foundation.Metadata.Overload("PostMessageToReceiverWithTelemetryAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[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 IAsyncOperation<IsolatedWindowsEnvironmentPostMessageResult> PostMessageToReceiverAsync(Guid receiverId, IEnumerable<object> message, IsolatedWindowsEnvironmentTelemetryParameters telemetryParameters);
function postMessageToReceiverAsync(receiverId, message, telemetryParameters)
Public Function PostMessageToReceiverAsync (receiverId As Guid, message As IEnumerable(Of Object), telemetryParameters As IsolatedWindowsEnvironmentTelemetryParameters) As IAsyncOperation(Of IsolatedWindowsEnvironmentPostMessageResult)

参数

receiverId
Guid

Platform::Guid

winrt::guid

消息接收器的 GUID。

message

IIterable<Object>

IEnumerable<Object>

IIterable<Platform::Object>

IIterable<IInspectable>

IIterable

返回

IsolatedWindowsEnvironmentPostMessageResult

属性

注解

警告

这是一个已弃用的 API。

另请参阅

适用于

PostMessageToReceiverAsync(Guid, IIterable<Object>)

已弃用。 将消息从主机发布到在独立 Windows 环境端注册的接收方。

public:
 virtual IAsyncOperation<IsolatedWindowsEnvironmentPostMessageResult ^> ^ PostMessageToReceiverAsync(Platform::Guid receiverId, IIterable<Platform::Object ^> ^ message) = PostMessageToReceiverAsync;
/// [Windows.Foundation.Metadata.Overload("PostMessageToReceiverAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IsolatedWindowsEnvironmentPostMessageResult> PostMessageToReceiverAsync(winrt::guid const& receiverId, IIterable<IInspectable> const& message);
/// [Windows.Foundation.Metadata.Overload("PostMessageToReceiverAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [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")]
IAsyncOperation<IsolatedWindowsEnvironmentPostMessageResult> PostMessageToReceiverAsync(winrt::guid const& receiverId, IIterable<IInspectable> const& message);
[Windows.Foundation.Metadata.Overload("PostMessageToReceiverAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IsolatedWindowsEnvironmentPostMessageResult> PostMessageToReceiverAsync(Guid receiverId, IEnumerable<object> message);
[Windows.Foundation.Metadata.Overload("PostMessageToReceiverAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[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 IAsyncOperation<IsolatedWindowsEnvironmentPostMessageResult> PostMessageToReceiverAsync(Guid receiverId, IEnumerable<object> message);
function postMessageToReceiverAsync(receiverId, message)
Public Function PostMessageToReceiverAsync (receiverId As Guid, message As IEnumerable(Of Object)) As IAsyncOperation(Of IsolatedWindowsEnvironmentPostMessageResult)

参数

receiverId
Guid

Platform::Guid

winrt::guid

消息接收器的 GUID。

message

IIterable<Object>

IEnumerable<Object>

IIterable<Platform::Object>

IIterable<IInspectable>

IIterable

返回

IsolatedWindowsEnvironmentPostMessageResult

属性

注解

警告

这是一个已弃用的 API。

另请参阅

适用于