Initializes a new instance of the SipPeerToPeerEndpoint class.

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

Syntax

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

RealTimeServerConnectionManager _
)
C#
public 
SipPeerToPeerEndpoint(
	
string 
uri,
	

RealTimeServerConnectionManager 
connectionManager
)
Visual C++
public:
SipPeerToPeerEndpoint(
	
String^ 
uri, 
	

RealTimeServerConnectionManager^ 
connectionManager
)
JavaScript

Microsoft.Rtc.Signaling.SipPeerToPeerEndpoint = 
function(
uri, 
connectionManager);

Parameters

uri
Type: String
The URI for this endpoint. This should not include port. Port will be automatically added depending on the listening port, if any.
connectionManager
Type: Microsoft.Rtc.Signaling . . :: . RealTimeServerConnectionManager
The connection manager to use for this endpoint.

See Also