MessageHeader<T> Class

 

Represents the content of a SOAP header.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

System.Object
  System.ServiceModel.MessageHeader<T>

public class MessageHeader<T>

Type Parameters

T

The message header type.

NameDescription
System_CAPS_pubmethodMessageHeader<T>()

Initializes a new instance of the MessageHeader<T> class.

System_CAPS_pubmethodMessageHeader<T>(T)

Initializes a new instance of the MessageHeader<T> class with the specified header content.

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

Initializes a new instance of the MessageHeader<T> class with the specified header content and metadata.

NameDescription
System_CAPS_pubpropertyActor

Gets or sets the targeted recipient of the message header.

System_CAPS_pubpropertyContent

Gets or sets the content of the header.

System_CAPS_pubpropertyMustUnderstand

Gets or sets a value that indicates whether the header must be understood, as stated in the SOAP 1.1/1.2 specification.

System_CAPS_pubpropertyRelay

Gets a value that indicates whether the header should be relayed.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetUntypedHeader(String, String)

Gets the message header with the specified namespace and local name.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

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.

Universal Windows Platform
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.

Return to top
Show: