SipPeerToPeerEndpoint Constructor (String, RealTimeServerConnectionManager, SipTransportType, String)
Initializes a new instance of SipPeerToPeerEndpoint.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
uri As String, _
connectionManager As RealTimeServerConnectionManager, _
defaultTransportType As SipTransportType, _
gruu As String _
)
'Usage
Dim uri As String
Dim connectionManager As RealTimeServerConnectionManager
Dim defaultTransportType As SipTransportType
Dim gruu As String
Dim instance As New SipPeerToPeerEndpoint(uri, connectionManager, _
defaultTransportType, gruu)
public SipPeerToPeerEndpoint(
string uri,
RealTimeServerConnectionManager connectionManager,
SipTransportType defaultTransportType,
string gruu
)
Parameters
- uri
Type: System.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. Can be null.
- defaultTransportType
Type: Microsoft.Rtc.Signaling.SipTransportType
The default transport for outgoing messages, if the application did not override the transport explicitly. For example, invite URI can have transport type to override this.
- gruu
Type: System.String
The GRUU to be used for the endpoint
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when some supplied argument is invalid. |