RealTimeServerTlsConnectionManager.AddToAllowedDomains Method

Adds a new entry into the list of allowed domains.

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

Syntax

'Declaration
Public Function AddToAllowedDomains ( _
    newEntry As String _
) As Boolean
'Usage
Dim instance As RealTimeServerTlsConnectionManager
Dim newEntry As String
Dim returnValue As Boolean

returnValue = instance.AddToAllowedDomains(newEntry)
public bool AddToAllowedDomains(
    string newEntry
)

Parameters

Return Value

Type: System.Boolean
Returns True if the entry was added. False, if the entry already exists.

Exceptions

Exception Condition
InvalidOperationException

Thrown when MTLS is not enabled. MTLS can be enabled by setting NeedMutualTls to true.

ArgumentNullException

Thrown when the argument newEntry is null.

See Also

Reference

RealTimeServerTlsConnectionManager Class

RealTimeServerTlsConnectionManager Members

Microsoft.Rtc.Signaling Namespace