Set Method
Sets the [IPAddress] property or the [HostName] property.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub Set ( _
value As String _
)
'Usage
Dim instance As SdpConnection
Dim value As String
instance.Set(value)
public void Set(
string value
)
Parameters
- value
Type: System..::..String
A host name or a formatted IP address (IP4 or IP6).
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the provided name is not a valid IP address or host name. |
Remarks
[Set] sets the [IPAddress] property if the given string is a recognizable address, otherwise sets the [HostName] property.