Edit

Share via


Header Class

Definition

Defines the out-of-band data for a call.

public ref class Header
[System.Serializable]
public class Header
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class Header
[<System.Serializable>]
type Header = class
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type Header = class
Public Class Header
Inheritance
Header
Attributes

Remarks

Header objects are used to convey information about a remote function call (for example, transaction ID or a method signature). For more information, see BinaryFormatter and SoapFormatter.

Constructors

Header(String, Object, Boolean, String)

Initializes a new instance of the Header class.

Header(String, Object, Boolean)

Initializes a new instance of the Header class with the given name, value, and additional configuration information.

Header(String, Object)

Initializes a new instance of the Header class with the given name and value.

Fields

HeaderNamespace

Indicates the XML namespace that the current Header belongs to.

MustUnderstand

Indicates whether the receiving end must understand the out-of-band data.

Name

Contains the name of the Header.

Value

Contains the value for the Header.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also