共用方式為


RemoteSystemSessionMessageChannel 建構函式

定義

多載

RemoteSystemSessionMessageChannel(RemoteSystemSession, String)

初始化 RemoteSystemSessionMessageChannel 的實例,以管理指定遠端會話的傳訊

RemoteSystemSessionMessageChannel(RemoteSystemSession, String, RemoteSystemSessionMessageChannelReliability)

初始化 RemoteSystemSessionMessageChannel 的實例,以管理指定遠端會話的傳訊,並指定通道的可靠性類型。

RemoteSystemSessionMessageChannel(RemoteSystemSession, String)

初始化 RemoteSystemSessionMessageChannel 的實例,以管理指定遠端會話的傳訊

public:
 RemoteSystemSessionMessageChannel(RemoteSystemSession ^ session, Platform::String ^ channelName);
 RemoteSystemSessionMessageChannel(RemoteSystemSession const& session, winrt::hstring const& channelName);
public RemoteSystemSessionMessageChannel(RemoteSystemSession session, string channelName);
function RemoteSystemSessionMessageChannel(session, channelName)
Public Sub New (session As RemoteSystemSession, channelName As String)

參數

session
RemoteSystemSession

此傳訊通道將對應的 RemoteSystemSession

channelName
String

Platform::String

winrt::hstring

傳訊通道的使用者定義名稱。 它應該是簡單且描述性的,例如「Bob 的 3D 應用程式會話」。

Windows 需求

應用程式功能
remoteSystem

適用於

RemoteSystemSessionMessageChannel(RemoteSystemSession, String, RemoteSystemSessionMessageChannelReliability)

初始化 RemoteSystemSessionMessageChannel 的實例,以管理指定遠端會話的傳訊,並指定通道的可靠性類型。

public:
 RemoteSystemSessionMessageChannel(RemoteSystemSession ^ session, Platform::String ^ channelName, RemoteSystemSessionMessageChannelReliability reliability);
 RemoteSystemSessionMessageChannel(RemoteSystemSession const& session, winrt::hstring const& channelName, RemoteSystemSessionMessageChannelReliability const& reliability);
public RemoteSystemSessionMessageChannel(RemoteSystemSession session, string channelName, RemoteSystemSessionMessageChannelReliability reliability);
function RemoteSystemSessionMessageChannel(session, channelName, reliability)
Public Sub New (session As RemoteSystemSession, channelName As String, reliability As RemoteSystemSessionMessageChannelReliability)

參數

session
RemoteSystemSession

此傳訊通道將對應的 RemoteSystemSession

channelName
String

Platform::String

winrt::hstring

傳訊通道的使用者定義名稱。 它應該是簡單且描述性的,例如「Bob 的 3D 應用程式傳訊通道」。

Windows 需求

應用程式功能
remoteSystem

適用於