SoapHeaderHandling 类

定义

SoapHeaderHandling 类用于从 SOAP 消息获取或读取 SOAP 标头内容,或将 SOAP 标头内容设置或写入到 SOAP 消息中。The SoapHeaderHandling class is used to get, set, write, and read SOAP header content to and from SOAP messages.

public ref class SoapHeaderHandling sealed
public sealed class SoapHeaderHandling
type SoapHeaderHandling = class
Public NotInheritable Class SoapHeaderHandling
继承
SoapHeaderHandling

构造函数

SoapHeaderHandling()

初始化 SoapHeaderHandling 的新实例。Initializes a new instance of SoapHeaderHandling.

方法

EnsureHeadersUnderstood(SoapHeaderCollection)

检查以确保已理解必须理解的 SOAP 标头;如果未理解,则此方法将引发异常。Checks to ensure that the SOAP headers that must be understood have been understood; if not, this method throws an exception.

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetHeaderMembers(SoapHeaderCollection, Object, SoapHeaderMapping[], SoapHeaderDirection, Boolean)

获取指定 SOAP 消息的 SOAP 标头内容。Gets the SOAP header content for the specified SOAP message.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ReadHeaders(XmlReader, XmlSerializer, SoapHeaderCollection, SoapHeaderMapping[], SoapHeaderDirection, String, String, Boolean)

返回一个 String,其中包含 SOAP 消息的 SOAP 标头内容。Returns a String that contains the SOAP header content of the SOAP message.

SetHeaderMembers(SoapHeaderCollection, Object, SoapHeaderMapping[], SoapHeaderDirection, Boolean)

设置指定 SOAP 消息的 SOAP 标头内容。Sets the SOAP header content for the specified SOAP message.

ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)
WriteHeaders(XmlWriter, XmlSerializer, SoapHeaderCollection, SoapHeaderMapping[], SoapHeaderDirection, Boolean, String, Boolean, String)

将指定的 SOAP 标头内容写入 SOAP 消息。Writes the specified SOAP header content to the SOAP message.

WriteUnknownHeaders(XmlWriter, SoapHeaderCollection, String)

将指定的 SOAP 标头内容写入 SOAP 消息。Writes the specified SOAP header content to the SOAP message.

适用于