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

Visual Basic (Declaration)
Public 
Sub 
Write ( _
	
writer 
As 
TextWriter _
)
C#
public 
void 
Write(
	
TextWriter 
writer
)
Visual C++
public:
void 
Write(
	
TextWriter^ 
writer
)
JavaScript
function 
write(
writer);

Parameters

writer
Type: TextWriter
The writer to append global portion of the SDP.

Exceptions

Exception Condition
Microsoft.Rtc.Signaling . . :: . MessageParsingException Thrown when the global portion of the SDP is not serializable in its current state.
ArgumentNullException Thrown when the argument is null.

See Also