RemoteSystemSession.SendInvitationAsync(RemoteSystem) 方法

定義

邀請指定的遠端裝置加入此遠端會話。

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)

參數

invitee
RemoteSystem

RemoteSystem 物件,代表要傳送此邀請的系統。

傳回

具有布林值的非同步作業:如果成功傳送邀請,則為 true ,否則為 false

屬性

Windows 需求

應用程式功能
remoteSystem

備註

接收邀請的裝置必須使用 RemoteSystemSessionInvitationListener 來處理它。

適用於