MessageFault.OnWriteDetail Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Invoked prior to writing the detail contents.
Namespace: System.ServiceModel.Channels
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Syntax
'Declaration
Protected Overridable Sub OnWriteDetail ( _
writer As XmlDictionaryWriter, _
version As EnvelopeVersion _
)
protected virtual void OnWriteDetail(
XmlDictionaryWriter writer,
EnvelopeVersion version
)
Parameters
- writer
Type: System.Xml.XmlDictionaryWriter
The XmlDictionaryWriter used to write the detail element.
- version
Type: System.ServiceModel.EnvelopeVersion
The version of the SOAP envelope to write.
Remarks
Override the OnWriteDetail method to participate in the detail writing process. The default behavior is to call OnWriteStartDetail followed by OnWriteDetailContents.
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.