다음을 통해 공유


SdpMediaDescription.Port Property

Gets 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 0.

See Also

Reference

SdpMediaDescription Class

SdpMediaDescription Members

Microsoft.Rtc.Signaling Namespace