Dela via


RemoteSystemSessionMessageChannel.SendValueSetAsync Method

Definition

Sends a message to a participant in this remote session messaging channel.

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)

Parameters

messageData
ValueSet

A ValueSet object containing the data to be sent to the specified participant.

participant
RemoteSystemSessionParticipant

A RemoteSystemSessionParticipant object corresponding to the participant to which the message should be sent.

Returns

An asynchronous operation containing a boolean value: true if the send operation was a success, otherwise false.

Attributes

Windows requirements

App capabilities
remoteSystem

Applies to