ConnectionContext(String, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.