RemoteSystemSessionMessageChannel.SendValueSetAsync 方法

定义

向此远程会话消息通道中的参与者发送消息。

public:
 virtual IAsyncOperation<bool> ^ SendValueSetAsync(ValueSet ^ messageData, RemoteSystemSessionParticipant ^ participant) = SendValueSetAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> SendValueSetAsync(ValueSet const& messageData, RemoteSystemSessionParticipant const& participant);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> SendValueSetAsync(ValueSet messageData, RemoteSystemSessionParticipant participant);
function sendValueSetAsync(messageData, participant)
Public Function SendValueSetAsync (messageData As ValueSet, participant As RemoteSystemSessionParticipant) As IAsyncOperation(Of Boolean)

参数

messageData
ValueSet

包含要发送到指定参与者的数据的 ValueSet 对象。

participant
RemoteSystemSessionParticipant

与消息应发送到的参与者对应的 RemoteSystemSessionParticipant 对象。

返回

包含布尔值的异步操作:如果发送操作成功,则为 true ,否则 为 false

属性

Windows 要求

应用功能
remoteSystem

适用于