SdpMediaDescription.Write Method
Appends the global section of the SDP to the provided string builder.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub Write ( _
writer As TextWriter _
)
'Usage
Dim instance As SdpMediaDescription
Dim writer As TextWriter
instance.Write(writer)
public void Write(
TextWriter writer
)
Parameters
- writer
Type: System.IO.TextWriter
The writer to append this portion of the SDP.
Exceptions
Exception | Condition |
---|---|
MessageParsingException | Thrown when the global portion of the SDP is not serializable in its current state |
ArgumentNullException | Thrown when the argument is null. |