共用方式為


MessageFault.WriteTo 方法

定義

序列化此訊息錯誤。

多載

WriteTo(XmlDictionaryWriter, EnvelopeVersion)

寫入使用指定之 XmlDictionaryWriter 和 SOAP 信封版本的訊息錯誤。

WriteTo(XmlWriter, EnvelopeVersion)

寫入使用指定之 XmlWriter 和 SOAP 信封版本的訊息錯誤。

WriteTo(XmlDictionaryWriter, EnvelopeVersion)

來源:
MessageFault.cs
來源:
MessageFault.cs

寫入使用指定之 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)

來源:
MessageFault.cs
來源:
MessageFault.cs

寫入使用指定之 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)

參數

writer
XmlWriter

用於寫入訊息錯誤的 XmlWriter

version
EnvelopeVersion

要寫入之 SOAP 信封的版本。

適用於