RealTimeServerTlsConnectionManager.AddToAllowedDomains(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new entry into the list of allowed domains.
public:
bool AddToAllowedDomains(System::String ^ newEntry);
public bool AddToAllowedDomains (string newEntry);
member this.AddToAllowedDomains : string -> bool
Public Function AddToAllowedDomains (newEntry As String) As Boolean
Parameters
- newEntry
- String
The new entry to be added.
Returns
Returns True if the entry was added. False, if the entry already exists.
Exceptions
Thrown when MTLS is not enabled. MTLS can be enabled by setting NeedMutualTls to true.
Thrown when the argument newEntry
is null.