UserEndpointSettings Constructor (String, String, Int32)
Creates a new UserEndpointSettings object
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public 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 UserEndpointSettings(ownerUri, _
serverName, serverPort)
public UserEndpointSettings(
string ownerUri,
string serverName,
int serverPort
)
Parameters
- ownerUri
Type: System.String
The URI of the user who owns this endpoint.
- serverName
Type: System.String
The server where the endpoint is registered.
- serverPort
Type: System.Int32
The port on the server to connect to.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when arguments are null or empty. |
ArgumentException | Thrown when one or more arguments are not valid. |