Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the number of ports in series starting with the value returned by the Port property. Default value if nothing is specified is 1.
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. |