ApplicationEndpointSettings Constructor (String, String, Int32)
Creates a new instance of the ApplicationEndpointSettings class.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
ownerUri As String, _
proxyHost As String, _
proxyPort As Integer _
)
'Usage
Dim ownerUri As String
Dim proxyHost As String
Dim proxyPort As Integer
Dim instance As New ApplicationEndpointSettings(ownerUri, _
proxyHost, proxyPort)
public ApplicationEndpointSettings(
string ownerUri,
string proxyHost,
int proxyPort
)
Parameters
- ownerUri
Type: System.String
The URI of the owner of the endpoint.
- proxyHost
Type: System.String
The proxy host to use as the first hop instead of a direct connection to the other endpoint.
- proxyPort
Type: System.Int32
The port to use for connecting to a proxy.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if one or more arguments are null or empty. |
ArgumentException | Thrown if one or more arguments are not valid. |
See Also
Reference
ApplicationEndpointSettings Class
ApplicationEndpointSettings Members