Share via


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

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.

See Also

Reference

SdpConnection Class

SdpConnection Members

Microsoft.Rtc.Signaling Namespace