Share via


IsolatedWindowsEnvironment.PostMessageToReceiverAsync Method

Definition

Overloads

PostMessageToReceiverAsync(Guid, IIterable<Object>, IsolatedWindowsEnvironmentTelemetryParameters)

Deprecated. Post a message from the host to the receiver that is registered on the Isolated Windows Environment side and correlate with telemetry events.

PostMessageToReceiverAsync(Guid, IIterable<Object>)

Deprecated. Post a message from the host to the receiver that is registered on the Isolated Windows Environment side.

PostMessageToReceiverAsync(Guid, IIterable<Object>, IsolatedWindowsEnvironmentTelemetryParameters)

Deprecated. Post a message from the host to the receiver that is registered on the Isolated Windows Environment side and correlate with telemetry events.

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)

Parameters

receiverId
Guid

Platform::Guid

winrt::guid

GUID for message receiver.

message

IIterable<Object>

IEnumerable<Object>

IIterable<Platform::Object>

IIterable<IInspectable>

IIterable

Returns

IsolatedWindowsEnvironmentPostMessageResult
Attributes

Remarks

Warning

This is a deprecated API.

See also

Applies to

PostMessageToReceiverAsync(Guid, IIterable<Object>)

Deprecated. Post a message from the host to the receiver that is registered on the Isolated Windows Environment side.

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)

Parameters

receiverId
Guid

Platform::Guid

winrt::guid

GUID for message receiver.

message

IIterable<Object>

IEnumerable<Object>

IIterable<Platform::Object>

IIterable<IInspectable>

IIterable

Returns

IsolatedWindowsEnvironmentPostMessageResult
Attributes

Remarks

Warning

This is a deprecated API.

See also

Applies to