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
- endpointType
Type: Microsoft.Rtc.Collaboration.EndpointType
The user agent's type.
- endpointSubtype
Type: Microsoft.Rtc.Collaboration.EndpointSubtype
The user agent's subtype. Only permissible if the EndpointType is "Application".
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if the EndpointSubtype is not compatible with the EndpointType. |
See Also
Reference
ApplicationEndpointSettings Class