ToString Method

Creates a string containing a valid SDP that is ready to be transmitted.

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

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As Sdp
Dim returnValue As String

returnValue = instance.ToString()
public override string ToString()

Return Value

Type: System..::..String
A string containing a representation of the SDP.

Exceptions

Exception Condition
MessageParsingException

Thrown when the SDP cannot be composed in its current state.

Remarks

[ToString] calls [Write]() and then converts the result to a string.

See Also

Reference

Sdp<(Of <(<'TGlobalDescription, TMediaDescription>)>)> Class

Sdp<(Of <(<'TGlobalDescription, TMediaDescription>)>)> Members

Microsoft.Rtc.Signaling Namespace