Share via


RemoteSystemSessionMessageChannel Constructors

Definition

Overloads

RemoteSystemSessionMessageChannel(RemoteSystemSession, String)

Initializes an instance of RemoteSystemSessionMessageChannel to manage messaging for a given remote session

RemoteSystemSessionMessageChannel(RemoteSystemSession, String, RemoteSystemSessionMessageChannelReliability)

Initializes an instance of RemoteSystemSessionMessageChannel to manage messaging for a given remote session, specifying the reliability type of the channel.

RemoteSystemSessionMessageChannel(RemoteSystemSession, String)

Initializes an instance of RemoteSystemSessionMessageChannel to manage messaging for a given remote session

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)

Parameters

session
RemoteSystemSession

The RemoteSystemSession to which this messaging channel will correspond.

channelName
String

Platform::String

winrt::hstring

The user-defined name of the messaging channel. It should be simple and descriptive, such as "Bob's 3D App session."

Windows requirements

App capabilities
remoteSystem

Applies to

RemoteSystemSessionMessageChannel(RemoteSystemSession, String, RemoteSystemSessionMessageChannelReliability)

Initializes an instance of RemoteSystemSessionMessageChannel to manage messaging for a given remote session, specifying the reliability type of the channel.

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)

Parameters

session
RemoteSystemSession

The RemoteSystemSession to which this messaging channel will correspond.

channelName
String

Platform::String

winrt::hstring

The user-defined name of the messaging channel. It should be simple and descriptive, such as "Bob's 3D App messaging channel."

reliability
RemoteSystemSessionMessageChannelReliability

A RemoteSystemSessionMessageChannelReliability value describing the reliability type of this channel.

Windows requirements

App capabilities
remoteSystem

Applies to