SdpConnection.Set Method
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
'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 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. |