RemoteSystemSessionController.RemoveParticipantAsync 方法

定义

从远程会话中删除参与者。

public:
 virtual IAsyncOperation<bool> ^ RemoveParticipantAsync(RemoteSystemSessionParticipant ^ pParticipant) = RemoveParticipantAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> RemoveParticipantAsync(RemoteSystemSessionParticipant const& pParticipant);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> RemoveParticipantAsync(RemoteSystemSessionParticipant pParticipant);
function removeParticipantAsync(pParticipant)
Public Function RemoveParticipantAsync (pParticipant As RemoteSystemSessionParticipant) As IAsyncOperation(Of Boolean)

参数

pParticipant
RemoteSystemSessionParticipant

对应于要删除的参与者的 RemoteSystemSessionParticipant 对象。

返回

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

属性

Windows 要求

应用功能
remoteSystem

适用于