Creates a new instance of the ApplicationEndpoint class.

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
New ( _
	
platform 
As 

CollaborationPlatform, _
	
settings 
As 

ApplicationEndpointSettings _
)
C#
public 
ApplicationEndpoint(
	

CollaborationPlatform 
platform,
	

ApplicationEndpointSettings 
settings
)
Visual C++
public:
ApplicationEndpoint(
	

CollaborationPlatform^ 
platform, 
	

ApplicationEndpointSettings^ 
settings
)
JavaScript

Microsoft.Rtc.Collaboration.ApplicationEndpoint = 
function(
platform, 
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 if the platform is already terminated.
ArgumentException Thrown when the endpoint type is incompatible with the platform settings.
ArgumentException Thrown when one or more arguments are not valid.
ArgumentNullException Thrown when one or more arguments are null or empty.

See Also