共用方式為


MessageFault.OnWriteDetail(XmlDictionaryWriter, EnvelopeVersion) 方法

定義

在寫入詳細資料內容之前叫用 (Invoke)。

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

適用於