MessageFault.OnWriteDetail(XmlDictionaryWriter, EnvelopeVersion) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在写入详细内容之前调用。
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。