RemoteSystemSessionMessageChannel.SendValueSetToParticipantsAsync 方法

定义

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

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

参数

messageData
ValueSet

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

participants

IIterable<RemoteSystemSessionParticipant>

IEnumerable<RemoteSystemSessionParticipant>

对应于消息应发送到的参与者的 RemoteSystemSessionParticipant 对象的可迭代集合。

返回

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

属性

Windows 要求

应用功能
remoteSystem

适用于