UserEndpoint Constructor
Creates a new instance of the UserEndpoint class.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
platform As CollaborationPlatform, _
settings As UserEndpointSettings _
)
'Usage
Dim platform As CollaborationPlatform
Dim settings As UserEndpointSettings
Dim instance As New UserEndpoint(platform, _
settings)
public UserEndpoint(
CollaborationPlatform platform,
UserEndpointSettings 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. |
InvalidOperationException | Thrown when invoked before an auto-provisioned platform has been started. |
ArgumentException | Thrown when one or more arguments are not valid. |
ArgumentNullException | Thrown when one or more arguments are null or empty. |
NotSupportedException | Thrown when the endpoint is created without server name and the platform's transport type is not Tls. |