Header Header Header Header Class

Definition

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

public ref class Header
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public class Header
type Header = class
Public Class Header
Inheritance
HeaderHeaderHeaderHeader
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) Header(String, Object) Header(String, Object) Header(String, Object)

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

Header(String, Object, Boolean) Header(String, Object, Boolean) Header(String, Object, Boolean) Header(String, Object, Boolean)

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

Header(String, Object, Boolean, String) Header(String, Object, Boolean, String) Header(String, Object, Boolean, String) Header(String, Object, Boolean, String)

Initializes a new instance of the Header class.

Fields

HeaderNamespace HeaderNamespace HeaderNamespace HeaderNamespace

Indicates the XML namespace that the current Header belongs to.

MustUnderstand MustUnderstand MustUnderstand MustUnderstand

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

Name Name Name Name

Contains the name of the Header.

Value Value Value Value

Contains the value for the Header.

Methods

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()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

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)

Applies to

See also