RemoteSystemSessionMessageChannel 클래스

정의

원격 세션 내에서 전용 데이터 전송 채널을 처리합니다. 이 클래스는 송신 및 수신 모두에 대한 기능을 소유합니다.

public ref class RemoteSystemSessionMessageChannel sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.System.RemoteSystems.IRemoteSystemSessionMessageChannelFactory, 262144, "Windows.Foundation.UniversalApiContract")]
/// [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 RemoteSystemSessionMessageChannel final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.System.RemoteSystems.IRemoteSystemSessionMessageChannelFactory), 262144, "Windows.Foundation.UniversalApiContract")]
[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 RemoteSystemSessionMessageChannel
function RemoteSystemSessionMessageChannel(session, channelName, reliability)
Public NotInheritable Class RemoteSystemSessionMessageChannel
상속
Object Platform::Object IInspectable RemoteSystemSessionMessageChannel
특성

Windows 요구 사항

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

설명

메시지는 이 채널을 통해 비동기적으로 전송되고 수신되므로 메시지의 시간 순서가 보장되지 않습니다.

메시지는 허브 및 스포크 모델을 통해 전달됩니다. 클라이언트가 참가자 또는 참가자 집합에게 보내는 모든 메시지는 먼저 호스트 디바이스로 내부적으로 전송된 다음 대상 참가자 또는 참가자에게 보냅니다.

생성자

RemoteSystemSessionMessageChannel(RemoteSystemSession, String)

RemoteSystemSessionMessageChannel의 instance 초기화하여 지정된 원격 세션에 대한 메시징을 관리합니다.

RemoteSystemSessionMessageChannel(RemoteSystemSession, String, RemoteSystemSessionMessageChannelReliability)

RemoteSystemSessionMessageChannel의 instance 초기화하여 채널의 안정성 유형을 지정하여 지정된 원격 세션에 대한 메시징을 관리합니다.

속성

Session

이 메시징 채널이 해당하는 원격 세션을 가져옵니다.

메서드

BroadcastValueSetAsync(ValueSet)

이 원격 세션 메시징 채널의 다른 모든 참가자에게 메시지를 보냅니다.

SendValueSetAsync(ValueSet, RemoteSystemSessionParticipant)

이 원격 세션 메시징 채널의 참가자에게 메시지를 보냅니다.

SendValueSetToParticipantsAsync(ValueSet, IIterable<RemoteSystemSessionParticipant>)

이 원격 세션 메시징 채널의 지정된 집합 참가자에게 메시지를 보냅니다.

이벤트

ValueSetReceived

채널에서 키-값 쌍의 형태로 메시지를 수신할 때 발생합니다. 메시지의 내용은 전달되는 RemoteSystemSessionValueSetReceivedEventArgs 개체에 의해 포함됩니다.

적용 대상