Compartir a través de


SdpMediaDescription.PortCount Property

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.

See Also

Reference

SdpMediaDescription Class

SdpMediaDescription Members

Microsoft.Rtc.Signaling Namespace