PortCount Property

Gets the number of sequential ports starting with the value of the [Port] property.

Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Property PortCount As Integer
    Get
    Set
'Usage
Dim instance As SdpMediaDescription
Dim value As Integer

value = instance.PortCount

instance.PortCount = value
public int PortCount { get; set; }

Property Value

Type: System..::..Int32

Exceptions

Exception Condition
ArgumentOutOfRangeException

Thrown when [PortCount] is less than 1.

Remarks

The default value is 1 if nothing is specified.

See Also

Reference

SdpMediaDescription Class

SdpMediaDescription Members

Microsoft.Rtc.Signaling Namespace