Share via


SipEndpoint Constructor (String, SipAuthenticationProtocols, SipTransportType, String)

Initializes a new instance of the class.

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

Syntax

'Declaration
Public Sub New ( _
    uri As String, _
    allowedAuthenticationProtocols As SipAuthenticationProtocols, _
    transportType As SipTransportType, _
    serverName As String _
)
'Usage
Dim uri As String
Dim allowedAuthenticationProtocols As SipAuthenticationProtocols
Dim transportType As SipTransportType
Dim serverName As String

Dim instance As New SipEndpoint(uri, allowedAuthenticationProtocols, _
    transportType, serverName)
public SipEndpoint(
    string uri,
    SipAuthenticationProtocols allowedAuthenticationProtocols,
    SipTransportType transportType,
    string serverName
)

Parameters

Exceptions

Exception Condition
ArgumentException

Thrown when one of the arguments is not valid.

Remarks

This endpoint is server-based. By default, the platform uses port 5060 for TCP and 5061 for TLS. To use a port other than these, the caller should set the port property before trying to register.

See Also

Reference

SipEndpoint Class

SipEndpoint Members

SipEndpoint Overload

Microsoft.Rtc.Signaling Namespace