Share via


ApplicationEndpointSettings.SetEndpointType Method (EndpointType, EndpointSubtype)

Sets the type of user agent that this endpoint represents.

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

Syntax

'Declaration
Public Sub SetEndpointType ( _
    endpointType As EndpointType, _
    endpointSubtype As EndpointSubtype _
)
'Usage
Dim instance As ApplicationEndpointSettings
Dim endpointType As EndpointType
Dim endpointSubtype As EndpointSubtype

instance.SetEndpointType(endpointType, _
    endpointSubtype)
public void SetEndpointType(
    EndpointType endpointType,
    EndpointSubtype endpointSubtype
)

Parameters

Exceptions

Exception Condition
ArgumentException

Thrown if the EndpointSubtype is not compatible with the EndpointType.

See Also

Reference

ApplicationEndpointSettings Class

ApplicationEndpointSettings Members

SetEndpointType Overload

Microsoft.Rtc.Collaboration Namespace