Partilhar via


ApplicationEndpoint Constructor

Creates a new instance of the ApplicationEndpoint class.

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

Syntax

'Declaration
Public Sub New ( _
    platform As CollaborationPlatform, _
    settings As ApplicationEndpointSettings _
)
'Usage
Dim platform As CollaborationPlatform
Dim settings As ApplicationEndpointSettings

Dim instance As New ApplicationEndpoint(platform, _
    settings)
public ApplicationEndpoint(
    CollaborationPlatform platform,
    ApplicationEndpointSettings settings
)

Parameters

Exceptions

Exception Condition
InvalidOperationException

Thrown when the platform is already terminated or if endpoint with same Uri already exists.

InvalidOperationException

Thrown if invoked before an auto-provisioned platform has been started.

ArgumentException

Thrown when the endpoint type is incompatible with the platform settings.

ArgumentException

Thrown when one or more arguments are not valid.

ArgumentException

Thrown if another endpoint has already be designated as the default routing endpoint.

ArgumentNullException

Thrown when one or more arguments are null or empty.

See Also

Reference

ApplicationEndpoint Class

ApplicationEndpoint Members

Microsoft.Rtc.Collaboration Namespace