MessageHeader.OnWriteStartHeader(XmlDictionaryWriter, MessageVersion) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在使用指定的 XML 编写器序列化开始标头时调用。
protected:
virtual void OnWriteStartHeader(System::Xml::XmlDictionaryWriter ^ writer, System::ServiceModel::Channels::MessageVersion ^ messageVersion);
protected virtual void OnWriteStartHeader (System.Xml.XmlDictionaryWriter writer, System.ServiceModel.Channels.MessageVersion messageVersion);
abstract member OnWriteStartHeader : System.Xml.XmlDictionaryWriter * System.ServiceModel.Channels.MessageVersion -> unit
override this.OnWriteStartHeader : System.Xml.XmlDictionaryWriter * System.ServiceModel.Channels.MessageVersion -> unit
Protected Overridable Sub OnWriteStartHeader (writer As XmlDictionaryWriter, messageVersion As MessageVersion)
参数
- writer
- XmlDictionaryWriter
XmlDictionaryWriter 用于序列化开始标头。
- messageVersion
- MessageVersion
包含与 SOAP 版本(与消息及其交换关联)相关的信息的对象。