Creates a new instance of SipEndpoint. This endpoint is server-based.

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
New ( _
	
uri 
As 
String, _
	
allowedAuthenticationProtocols 
As 

SipAuthenticationProtocols, _
	
transportType 
As 

SipTransportType, _
	
serverName 
As 
String, _
	
serverPort 
As 
Integer, _
	
allowNoAuthentication 
As 
Boolean, _
	
connectionManager 
As 

RealTimeConnectionManager, _
	
endpointId 
As 
String _
)
C#
public 
SipEndpoint(
	
string 
uri,
	

SipAuthenticationProtocols 
allowedAuthenticationProtocols,
	

SipTransportType 
transportType,
	
string 
serverName,
	
int 
serverPort,
	
bool 
allowNoAuthentication,
	

RealTimeConnectionManager 
connectionManager,
	
string 
endpointId
)
Visual C++
public:
SipEndpoint(
	
String^ 
uri, 
	

SipAuthenticationProtocols 
allowedAuthenticationProtocols, 
	

SipTransportType 
transportType, 
	
String^ 
serverName, 
	
int 
serverPort, 
	
bool 
allowNoAuthentication, 
	

RealTimeConnectionManager^ 
connectionManager, 
	
String^ 
endpointId
)
JavaScript
Microsoft.Rtc.Signaling.SipEndpoint
= 
function(
uri, 
allowedAuthenticationProtocols, 
transportType, 
serverName, 
serverPort, 
allowNoAuthentication, 
connectionManager, 
endpointId);

Parameters

uri
Type: String
The URI of the user identifying the endpoint.
allowedAuthenticationProtocols
Type: Microsoft.Rtc.Signaling . . :: . SipAuthenticationProtocols
The authentication protocols to be used for the server specified.
transportType
Type: Microsoft.Rtc.Signaling . . :: . SipTransportType
The type of transport to be used to connect to the server.
serverName
Type: String
The name of the server to be used.
serverPort
Type: Int32
The port to be used to connect to the server. User 0 to use default.
allowNoAuthentication
Type: Boolean
Indicates whether the client allows communicating with a server that does not challenge messages from this client. Most applications should pass false.
connectionManager
Type: Microsoft.Rtc.Signaling . . :: . RealTimeConnectionManager
The connection manager to be used for this endpoint.
endpointId
Type: String
The epid to use. Can be null.

Exceptions

Exception Condition
ArgumentException Thrown when one of the arguments is not valid.

See Also