MessageHeader<T> MessageHeader<T> MessageHeader<T> MessageHeader<T> Class

定义

表示 SOAP 标头的内容。Represents the content of a SOAP header.

generic <typename T>
public ref class MessageHeader
public class MessageHeader<T>
type MessageHeader<'T> = class
Public Class MessageHeader(Of T)

类型参数

T

消息头类型。The message header type.

继承
MessageHeader<T>MessageHeader<T>MessageHeader<T>MessageHeader<T>

注解

消息头包含用于描述消息的可选元数据,由 Message 类包装。A message header contains optional metadata that describe a message, encapsulated by the Message class.

构造函数

MessageHeader<T>() MessageHeader<T>() MessageHeader<T>() MessageHeader<T>()

初始化 MessageHeader<T> 类的新实例。Initializes a new instance of the MessageHeader<T> class.

MessageHeader<T>(T) MessageHeader<T>(T) MessageHeader<T>(T) MessageHeader<T>(T)

使用指定的标头内容初始化 MessageHeader<T> 类的新实例。Initializes a new instance of the MessageHeader<T> class with the specified header content.

MessageHeader<T>(T, Boolean, String, Boolean) MessageHeader<T>(T, Boolean, String, Boolean) MessageHeader<T>(T, Boolean, String, Boolean) MessageHeader<T>(T, Boolean, String, Boolean)

使用指定的标头内容和元数据初始化 MessageHeader<T> 类的新实例。Initializes a new instance of the MessageHeader<T> class with the specified header content and metadata.

属性

Actor Actor Actor Actor

获取或设置消息头的目标接收方。Gets or sets the targeted recipient of the message header.

Content Content Content Content

获取或设置标头的内容。Gets or sets the content of the header.

MustUnderstand MustUnderstand MustUnderstand MustUnderstand

获取或设置一个值,该值指示是否必须理解标头,如 SOAP 1.1/1.2 规范所述。Gets or sets a value that indicates whether the header must be understood, as stated in the SOAP 1.1/1.2 specification.

Relay Relay Relay Relay

获取一个值,该值指示是否应该中继标头。Gets a value that indicates whether the header should be relayed.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

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

(Inherited from Object)
GetType() GetType() GetType() GetType()

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

(Inherited from Object)
GetUntypedHeader(String, String) GetUntypedHeader(String, String) GetUntypedHeader(String, String) GetUntypedHeader(String, String)

获取具有指定命名空间和本地名称的消息头。Gets the message header with the specified namespace and local name.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

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

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

适用于