OnWriteDetail Method
Collapse the table of content
Expand the table of content

MessageFault.OnWriteDetail Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Invoked prior to writing the detail contents.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

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.

Override the OnWriteDetail method to participate in the detail writing process. The default behavior is to call OnWriteStartDetail followed by OnWriteDetailContents.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft