Share via


LocalEndpointSettings Constructor (String, String, Int32)

Initializes LocalEndpointSettings object.

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Protected Sub New ( _
    ownerUri As String, _
    serverName As String, _
    serverPort As Integer _
)
'Usage
Dim ownerUri As String
Dim serverName As String
Dim serverPort As Integer

Dim instance As New LocalEndpointSettings(ownerUri, _
    serverName, serverPort)
protected LocalEndpointSettings(
    string ownerUri,
    string serverName,
    int serverPort
)

Parameters

  • ownerUri
    Type: System.String
    The URI of the owner of this endpoint.
  • serverName
    Type: System.String
    Gets the proxy host to use as the first hop instead of a direct connection to the other endpoint.
  • serverPort
    Type: System.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

Reference

LocalEndpointSettings Class

LocalEndpointSettings Members

LocalEndpointSettings Overload

Microsoft.Rtc.Collaboration Namespace