Creates a new instance of the UserEndpoint
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 UserEndpointSettings _ ) |
C# |
---|
public UserEndpoint( CollaborationPlatform platform, UserEndpointSettings settings ) |
Visual C++ |
---|
public: UserEndpoint( CollaborationPlatform^ platform, UserEndpointSettings^ settings ) |
JavaScript |
---|
Microsoft.Rtc.Collaboration.UserEndpoint = function( platform, settings); |
Parameters
- platform
- Type:
Microsoft.Rtc.Collaboration
.
.
::
.
CollaborationPlatform
The platform object this endpoint is bound to.
- settings
- Type:
Microsoft.Rtc.Collaboration
.
.
::
.
UserEndpointSettings
Settings to initialize the instance.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the platform is already terminated. |
ArgumentException | Thrown when one or more arguments are not valid. |
ArgumentNullException | Thrown when one or more arguments are null or empty. |