System.Runtime.Remoting.Messaging.Header Class

Assembly: Mscorlib.dll
Namespace: System.Runtime.Remoting.Messaging
Summary
Defines the out-of-band data for a call.
C# Syntax:
[Serializable]
public class Header
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.
See also:
System.Runtime.Remoting.Messaging Namespace

System.Runtime.Remoting.Messaging.Header Member List:

Public Constructors
ctor #1 Overloaded:
.ctor(string _Name, object _Value)

Initializes a new instance of the Header class with the given name and value.
ctor #2 Overloaded:
.ctor(string _Name, object _Value, bool _MustUnderstand)

Initializes a new instance of the Header class with the given name, value, and additional configuration information.
ctor #3 Overloaded:
.ctor(string _Name, object _Value, bool _MustUnderstand, string _HeaderNamespace)

Initializes a new instance of the Header class.
Public 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.
Public Methods
Equals
(inherited from System.Object)
See base class member description: System.Object.Equals

Derived from System.Object, the primary base class for all objects.
GetHashCode
(inherited from System.Object)
See base class member description: System.Object.GetHashCode

Derived from System.Object, the primary base class for all objects.
GetType
(inherited from System.Object)
See base class member description: System.Object.GetType

Derived from System.Object, the primary base class for all objects.
ToString
(inherited from System.Object)
See base class member description: System.Object.ToString

Derived from System.Object, the primary base class for all objects.
Protected Methods
Finalize
(inherited from System.Object)
See base class member description: System.Object.Finalize

Derived from System.Object, the primary base class for all objects.
MemberwiseClone
(inherited from System.Object)
See base class member description: System.Object.MemberwiseClone

Derived from System.Object, the primary base class for all objects.

Hierarchy:


System.Runtime.Remoting.Messaging.Header Member Details

Overloaded ctor #1
Summary
Initializes a new instance of the Header class with the given name and value.
C# Syntax:
public Header(
   string _Name,
   object _Value
);
Parameters:

_Name

The name of the Header.

_Value

The object that contains the value for the Header.

Return to top


Overloaded ctor #2
Summary
Initializes a new instance of the Header class with the given name, value, and additional configuration information.
C# Syntax:
public Header(
   string _Name,
   object _Value,
   bool _MustUnderstand
);
Parameters:

_Name

The name of the Header.

_Value

The object that contains the value for the Header.

_MustUnderstand

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

Return to top


Overloaded ctor #3
Summary
Initializes a new instance of the Header class.
C# Syntax:
public Header(string _Name, object _Value, bool _MustUnderstand, string _Header(
   string _Name,
   object _Value,
   bool _MustUnderstand,
   string _HeaderNamespace
);
Parameters:

_Name

The name of the Header.

_Value

The object that contains the value of the Header.

_MustUnderstand

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

_HeaderNamespace

The Header XML namespace.

Return to top


Field: HeaderNamespace
Summary
Indicates the XML namespace that the current Header belongs to.
C# Syntax:
public string HeaderNamespace;

Return to top


Field: MustUnderstand
Summary
Indicates whether the receiving end must understand the out-of-band data.
C# Syntax:
public bool MustUnderstand;

Return to top


Field: Name
Summary
Contains the name of the Header.
C# Syntax:
public string Name;

Return to top


Field: Value
Summary
Contains the value for the Header.
C# Syntax:
public object Value;

Return to top


Method: Equals(
   object obj
)
Inherited
See base class member description: System.Object.Equals
C# Syntax:
public virtual bool Equals(
   object obj
);

For more information on members inherited from System.Object click on the link above.

Return to top


Method: Finalize()
Inherited
See base class member description: System.Object.Finalize
C# Syntax:
~Header();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetHashCode()
Inherited
See base class member description: System.Object.GetHashCode
C# Syntax:
public virtual int GetHashCode();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetType()
Inherited
See base class member description: System.Object.GetType
C# Syntax:
public Type GetType();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: MemberwiseClone()
Inherited
See base class member description: System.Object.MemberwiseClone
C# Syntax:
protected object MemberwiseClone();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: ToString()
Inherited
See base class member description: System.Object.ToString
C# Syntax:
public virtual string ToString();

For more information on members inherited from System.Object click on the link above.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.