MessageFault.OnWriteDetail(XmlDictionaryWriter, EnvelopeVersion) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在寫入詳細資料內容之前叫用 (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。