MessageFault.WriteTo 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
序列化消息错误。
重载
WriteTo(XmlDictionaryWriter, EnvelopeVersion) |
写入使用指定的 XmlDictionaryWriter 和 SOAP 信封版本的消息错误。 |
WriteTo(XmlWriter, EnvelopeVersion) |
写入使用指定的 XmlWriter 和 SOAP 信封版本的消息错误。 |
WriteTo(XmlDictionaryWriter, EnvelopeVersion)
- 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
写入使用指定的 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 信封的版本。