RemoteSystemSessionController.RemoveParticipantAsync Method

Definition

Removes a participant from the remote session.

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)

Parameters

pParticipant
RemoteSystemSessionParticipant

A RemoteSystemSessionParticipant object corresponding to the participant being removed.

Returns

IAsyncOperation<Boolean>

IAsyncOperation<bool>

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

Attributes

Windows requirements

App capabilities
remoteSystem

Applies to