Port Property

Gets or sets the port where the media should be directed.

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

Syntax

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

value = instance.Port

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

Property Value

Type: System..::..Int32

Exceptions

Exception Condition
ArgumentOutOfRangeException

Thrown when [Port] is less than zero.

See Also

Reference

SdpMediaDescription Class

SdpMediaDescription Members

Microsoft.Rtc.Signaling Namespace