MessageFault.WriteTo 方法

定义

序列化消息错误。

重载

WriteTo(XmlDictionaryWriter, EnvelopeVersion)

写入使用指定的 XmlDictionaryWriter 和 SOAP 信封版本的消息错误。

WriteTo(XmlWriter, EnvelopeVersion)

写入使用指定的 XmlWriter 和 SOAP 信封版本的消息错误。

WriteTo(XmlDictionaryWriter, EnvelopeVersion)

Source:
MessageFault.cs
Source:
MessageFault.cs
Source:
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)

Source:
MessageFault.cs
Source:
MessageFault.cs
Source:
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 信封的版本。

适用于