Sdp<TGlobalDescription, TMediaDescription>.Parse Method (String)

Parses the supplied array segment into data structures representing the components of the SDP.

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

Syntax

'Declaration
Public Sub Parse ( _
    sdpText As String _
)
'Usage
Dim instance As Sdp
Dim sdpText As String

instance.Parse(sdpText)
public void Parse(
    string sdpText
)

Parameters

  • sdpText
    Type: System.String
    The string containing the SDP to parse.

Exceptions

Exception Condition
MessageParsingException

Thrown when the provided SDP is malformated. See exception message for details.

ArgumentNullException

Thrown when null is passed as an argument.

ArgumentException

Thrown when empty string is passed as an argument.

See Also

Reference

Sdp<TGlobalDescription, TMediaDescription> Class

Sdp<TGlobalDescription, TMediaDescription> Members

Parse Overload

Microsoft.Rtc.Signaling Namespace