MessageHeader<T> Class
Represents the content of a SOAP header.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Name | Description | |
|---|---|---|
![]() | MessageHeader<T>() | Initializes a new instance of the MessageHeader<T> class. |
![]() | MessageHeader<T>(T) | Initializes a new instance of the MessageHeader<T> class with the specified header content. |
![]() | MessageHeader<T>(T, Boolean, String^, Boolean) | Initializes a new instance of the MessageHeader<T> class with the specified header content and metadata. |
| Name | Description | |
|---|---|---|
![]() | Actor | Gets or sets the targeted recipient of the message header. |
![]() | Content | Gets or sets the content of the header. |
![]() | MustUnderstand | Gets or sets a value that indicates whether the header must be understood, as stated in the SOAP 1.1/1.2 specification. |
![]() | Relay | Gets a value that indicates whether the header should be relayed. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | GetUntypedHeader(String^, String^) | Gets the message header with the specified namespace and local name. |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
A message header contains optional metadata that describe a message, encapsulated by the Message class.
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


