Share via


RemoteSystemSession.SendInvitationAsync(RemoteSystem) Method

Definition

Invites a given remote device to join this remote session.

public:
 virtual IAsyncOperation<bool> ^ SendInvitationAsync(RemoteSystem ^ invitee) = SendInvitationAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> SendInvitationAsync(RemoteSystem const& invitee);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> SendInvitationAsync(RemoteSystem invitee);
function sendInvitationAsync(invitee)
Public Function SendInvitationAsync (invitee As RemoteSystem) As IAsyncOperation(Of Boolean)

Parameters

invitee
RemoteSystem

The RemoteSystem object representing the system to which this invitation is being sent.

Returns

An asynchronous operation with a boolean value: true if the invitation was sent successfully, otherwise false.

Attributes

Windows requirements

App capabilities
remoteSystem

Remarks

The device receiving the invitation will need to use a RemoteSystemSessionInvitationListener to handle it.

Applies to