MessageFault.OnWriteDetail(XmlDictionaryWriter, EnvelopeVersion) 方法

定义

在写入详细内容之前调用。

protected:
 virtual void OnWriteDetail(System::Xml::XmlDictionaryWriter ^ writer, System::ServiceModel::EnvelopeVersion ^ version);
protected virtual void OnWriteDetail (System.Xml.XmlDictionaryWriter writer, System.ServiceModel.EnvelopeVersion version);
abstract member OnWriteDetail : System.Xml.XmlDictionaryWriter * System.ServiceModel.EnvelopeVersion -> unit
override this.OnWriteDetail : System.Xml.XmlDictionaryWriter * System.ServiceModel.EnvelopeVersion -> unit
Protected Overridable Sub OnWriteDetail (writer As XmlDictionaryWriter, version As EnvelopeVersion)

参数

writer
XmlDictionaryWriter

用于写入详细信息元素的 XmlDictionaryWriter

version
EnvelopeVersion

要写入的 SOAP 信封的版本。

注解

重写 OnWriteDetail 方法可以参与详细信息写入过程。 默认行为是调用 OnWriteStartDetail,然后调用 OnWriteDetailContents

适用于