RemoteSystemSessionParticipantWatcher RemoteSystemSessionParticipantWatcher RemoteSystemSessionParticipantWatcher RemoteSystemSessionParticipantWatcher RemoteSystemSessionParticipantWatcher Class

Definition

Handles the discovery and monitoring of remote session participants by raising the appropriate events.

public : sealed class RemoteSystemSessionParticipantWatcher
struct winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher
public sealed class RemoteSystemSessionParticipantWatcher
Public NotInheritable Class RemoteSystemSessionParticipantWatcher
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)
Capabilities
remoteSystem

Remarks

This class is instantiated when the CreateParticipantWatcher method is called on an instance of RemoteSystemSession. Instances of this class each correspond to one instance of RemoteSystemSession (and therefore one remote session).

Properties

Status Status Status Status Status

Gets the operational status of this participant watcher.

Methods

Start() Start() Start() Start() Start()

Starts watching for participants in the remote session. The discovery process runs until the Stop method is called. A RemoteSystemSessionParticipantWatcher object can have its Start method called again at a later time.

Stop() Stop() Stop() Stop() Stop()

Stops watching for discoverable session participants.

Events

Added Added Added Added Added

Raised when a new participant has been added to the remote session.

EnumerationCompleted EnumerationCompleted EnumerationCompleted EnumerationCompleted EnumerationCompleted

Raised after the initial enumeration of participants has completed.

Removed Removed Removed Removed Removed

Raised when a participant in the session has been removed.