Partilhar via


RealTimeEndpoint.AddFeatureParameter Method (String, String)

Adds a feature parameter. See rfc 3840.

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

Syntax

'Declaration
Public Sub AddFeatureParameter ( _
    name As String, _
    value As String _
)
'Usage
Dim instance As RealTimeEndpoint
Dim name As String
Dim value As String

instance.AddFeatureParameter(name, value)
public void AddFeatureParameter(
    string name,
    string value
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Thrown if name is null.

ArgumentException

Thrown if the name is empty or already exists in collection.

MessageParsingException

Thrown if the name/value pair is not a valid header parameter.

See Also

Reference

RealTimeEndpoint Class

RealTimeEndpoint Members

AddFeatureParameter Overload

Microsoft.Rtc.Signaling Namespace