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 应用消息传递通道”。

reliability
RemoteSystemSessionMessageChannelReliability

描述此通道的可靠性类型的 RemoteSystemSessionMessageChannelReliability 值。

Windows 要求

应用功能
remoteSystem

适用于