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
- platform
Type: Microsoft.Rtc.Collaboration.CollaborationPlatform
The platform instance that this endpoint is bound to.
- settings
Type: Microsoft.Rtc.Collaboration.ApplicationEndpointSettings
Settings used to initialize the object.
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. |