Sets the IPAddress property if the given
string is a recognizable address, otherwise sets the HostName
property.
Namespace:
Microsoft.Rtc.Signaling
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Sub
Set ( _
value
As
String _
)
|
C# |
public
void
Set(
string
value
)
|
Visual C++ |
public:
void
Set(
String^
value
)
|
JavaScript |
function
set(
value);
|
Parameters
-
value
- Type:
String
A hostname or a formatted IP address (either IP4 or
IP6).
Exceptions
Exception |
Condition |
ArgumentException
|
Thrown when the provided name is not a valid IP address or
hostname. |
See Also