RemoteSystemSessionParticipantWatcher 클래스

정의

적절한 이벤트를 발생시켜 원격 세션 참가자의 검색 및 모니터링을 처리합니다.

public ref class RemoteSystemSessionParticipantWatcher sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class RemoteSystemSessionParticipantWatcher final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class RemoteSystemSessionParticipantWatcher final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class RemoteSystemSessionParticipantWatcher
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class RemoteSystemSessionParticipantWatcher
Public NotInheritable Class RemoteSystemSessionParticipantWatcher
상속
Object Platform::Object IInspectable RemoteSystemSessionParticipantWatcher
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Creators Update (10.0.15063.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v4.0에서 도입되었습니다.)
앱 기능
remoteSystem

설명

이 클래스는 RemoteSystemSession의 instance CreateParticipantWatcher 메서드를 호출할 때 인스턴스화됩니다. 이 클래스의 인스턴스는 각각 RemoteSystemSession의 한 instance(따라서 하나의 원격 세션)에 해당합니다.

속성

Status

이 참가자 감시자의 운영 상태 가져옵니다.

메서드

Start()

원격 세션의 참가자를 감시하기 시작합니다. 검색 프로세스는 Stop 메서드가 호출될 때까지 실행됩니다. RemoteSystemSessionParticipantWatcher 개체는 나중에 Start 메서드를 다시 호출할 수 있습니다.

Stop()

검색 가능한 세션 참가자에 대한 감시를 중지합니다.

이벤트

Added

새 참가자가 원격 세션에 추가되었을 때 발생합니다.

EnumerationCompleted

참가자의 초기 열거가 완료된 후 발생합니다.

Removed

세션의 참가자가 제거되었을 때 발생합니다.

적용 대상