BodyWriter::WriteBodyContents Method (XmlDictionaryWriter^)
.NET Framework (current version)
Writes out the contents of the message body.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- writer
-
Type:
System.Xml::XmlDictionaryWriter^
The XmlDictionaryWriter used to write out the message body.
| Exception | Condition |
|---|---|
| ArgumentNullException | writer is null. |
The default implementation of WriteBodyContents(XmlDictionaryWriter^) calls OnWriteBodyContents(XmlDictionaryWriter^), so overriding OnWriteBodyContents(XmlDictionaryWriter^) provides the best point of extension.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: