RemoteSystemSession.SendInvitationAsync(RemoteSystem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.