Initializes LocalEndpointSettings
object.
Namespace:
Microsoft.Rtc.Collaboration
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Protected
Sub
New ( _
ownerUri
As
String, _
serverName
As
String, _
serverPort
As
Integer _
)
|
C# |
protected
LocalEndpointSettings(
string
ownerUri,
string
serverName,
int
serverPort
)
|
Visual C++ |
protected:
LocalEndpointSettings(
String^
ownerUri,
String^
serverName,
int
serverPort
)
|
JavaScript |
Microsoft.Rtc.Collaboration.LocalEndpointSettings =
function(
ownerUri,
serverName,
serverPort);
|
Parameters
-
ownerUri
- Type:
String
The URI of the owner of this endpoint.
-
serverName
- Type:
String
Gets the proxy host to use as the first hop instead of a
direct connection to the other endpoint.
-
serverPort
- Type:
Int32
Gets the port on the proxy host to use.
Exceptions
Exception |
Condition |
ArgumentNullException
|
Thrown when one or more arguments are null or empty |
ArgumentException
|
Thrown when one or more arguments are not valid |
See Also