Edit

Share via


ConnectionContext(String, Int32) Constructor

Definition

Creates an instance of the object.

public:
 ConnectionContext(System::String ^ host, int port);
public ConnectionContext (string host, int port);
new Microsoft.Rtc.Signaling.ConnectionContext : string * int -> Microsoft.Rtc.Signaling.ConnectionContext
Public Sub New (host As String, port As Integer)

Parameters

host
String

The host that should be used to connect.

port
Int32

The port that should be used to connect.

Exceptions

Thrown when given host value is null.

Thrown when given port value is out of range.

Thrown when given host value is empty.

Applies to