Partilhar via


RealTimeEndpoint Constructor (String, String, Boolean)

Constructor when URI is supplied.

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

Syntax

'Declaration
Protected Sub New ( _
    ownerUri As String, _
    epid As String, _
    disallowParameters As Boolean _
)
'Usage
Dim ownerUri As String
Dim epid As String
Dim disallowParameters As Boolean

Dim instance As New RealTimeEndpoint(ownerUri, _
    epid, disallowParameters)
protected RealTimeEndpoint(
    string ownerUri,
    string epid,
    bool disallowParameters
)

Parameters

  • ownerUri
    Type: System.String
    The URI of the owning identity of this endpoint.
  • epid
    Type: System.String
    The epid to use. Can be null or empty in which case it is auto generated.
  • disallowParameters
    Type: System.Boolean
    True to check and throw if parameters exist.

Exceptions

Exception Condition
ArgumentException

Thrown when an argument is invalid or unable to generate an EPID for this endpoint.

ArgumentOutOfRangeException

Thrown when epid string length is too long.

See Also

Reference

RealTimeEndpoint Class

RealTimeEndpoint Members

RealTimeEndpoint Overload

Microsoft.Rtc.Signaling Namespace