MessageFault.WriteTo 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
序列化此訊息錯誤。
多載
WriteTo(XmlDictionaryWriter, EnvelopeVersion) |
寫入使用指定之 XmlDictionaryWriter 和 SOAP 信封版本的訊息錯誤。 |
WriteTo(XmlWriter, EnvelopeVersion) |
寫入使用指定之 XmlWriter 和 SOAP 信封版本的訊息錯誤。 |
WriteTo(XmlDictionaryWriter, EnvelopeVersion)
寫入使用指定之 XmlDictionaryWriter 和 SOAP 信封版本的訊息錯誤。
public:
void WriteTo(System::Xml::XmlDictionaryWriter ^ writer, System::ServiceModel::EnvelopeVersion ^ version);
public void WriteTo (System.Xml.XmlDictionaryWriter writer, System.ServiceModel.EnvelopeVersion version);
member this.WriteTo : System.Xml.XmlDictionaryWriter * System.ServiceModel.EnvelopeVersion -> unit
Public Sub WriteTo (writer As XmlDictionaryWriter, version As EnvelopeVersion)
參數
- writer
- XmlDictionaryWriter
用於寫入訊息錯誤的 XmlDictionaryWriter。
- version
- EnvelopeVersion
要寫入之 SOAP 信封的版本。
適用於
WriteTo(XmlWriter, EnvelopeVersion)
寫入使用指定之 XmlWriter 和 SOAP 信封版本的訊息錯誤。
public:
void WriteTo(System::Xml::XmlWriter ^ writer, System::ServiceModel::EnvelopeVersion ^ version);
public void WriteTo (System.Xml.XmlWriter writer, System.ServiceModel.EnvelopeVersion version);
member this.WriteTo : System.Xml.XmlWriter * System.ServiceModel.EnvelopeVersion -> unit
Public Sub WriteTo (writer As XmlWriter, version As EnvelopeVersion)
參數
- version
- EnvelopeVersion
要寫入之 SOAP 信封的版本。