Adds a new entry into the list of allowed
domains.
Namespace:
Microsoft.Rtc.Signaling
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Function
AddToAllowedDomains ( _
newEntry
As
String _
)
As
Boolean
|
C# |
public
bool
AddToAllowedDomains(
string
newEntry
)
|
Visual C++ |
public:
bool
AddToAllowedDomains(
String^
newEntry
)
|
JavaScript |
function
addToAllowedDomains(
newEntry);
|
Parameters
-
newEntry
- Type:
String
The new entry to be added.
Return Value
Returns True if the entry
was added. False, if the entry already exists.
Exceptions
Exception |
Condition |
ArgumentNullException
|
Thrown when the argument passed is null. |
See Also