IsolatedWindowsEnvironment.PostMessageToReceiverAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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。
IIterable
- telemetryParameters
- IsolatedWindowsEnvironmentTelemetryParameters
返回
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。
IIterable
返回
IsolatedWindowsEnvironmentPostMessageResult
- 属性
注解
警告
这是一个已弃用的 API。