RealTimeEndpoint Constructor (String, String)
Initializes a new instance of the class.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Protected Sub New ( _
uri As String, _
epid As String _
)
'Usage
Dim uri As String
Dim epid As String
Dim instance As New RealTimeEndpoint(uri, epid)
protected RealTimeEndpoint(
string uri,
string epid
)
Parameters
- uri
Type: System..::..String
The URI of the owning identity of this endpoint.
- epid
Type: System..::..String
The EPID to use. Can be nullNothingnullptrunita null reference (Nothing in Visual Basic) or empty in which case it is auto generated.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown when EPID string length is too long. |
ArgumentException | Thrown when an argument is invalid or unable to generate an EPID for this endpoint. |