AddSipExtension Method

Adds an extension to the list of supported extensions for Invite.

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

Syntax

'Declaration
Public Sub AddSipExtension ( _
    extension As String _
)
'Usage
Dim instance As RealTimeEndpoint
Dim extension As String

instance.AddSipExtension(extension)
public void AddSipExtension(
    string extension
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Thrown if extension is nullNothingnullptrunita null reference (Nothing in Visual Basic).

ArgumentException

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

See Also

Reference

RealTimeEndpoint Class

RealTimeEndpoint Members

Microsoft.Rtc.Signaling Namespace