System.Runtime.Remoting.Channels.TransportHeaders Class

Assembly: Mscorlib.dll
Namespace: System.Runtime.Remoting.Channels
Summary
Stores a collection of headers used in the channel sinks.
C# Syntax:
[Serializable]
public class TransportHeaders : ITransportHeaders
Remarks
You can use the foreach statement to iterate over the contents of the header list that contains objects of type DictionaryEntry. Keys to the headers are required to be strings, and comparisons are done on a case-insensitive basis.
See also:
System.Runtime.Remoting.Channels Namespace

System.Runtime.Remoting.Channels.TransportHeaders Member List:

Public Constructors
ctor #1 Default constructor. This constructor is called by derived class constructors to initialize state in this type.
Initializes a new instance of the TransportHeaders class.
Public Properties
Item Read-write

Gets or sets a transport header that is associated with the given key.
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.
GetEnumerator Returns an enumerator of the stored transport headers.
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.Channels.TransportHeaders Member Details

ctor #1
Summary
Initializes a new instance of the TransportHeaders class.

Default constructor. This constructor is called by derived class constructors to initialize state in this type.
C# Syntax:
public TransportHeaders();

Return to top


Property: Item (read-write)
Summary
Gets or sets a transport header that is associated with the given key.
C# Syntax:
public object this[object key] {get; set;}
Parameters:

key

The String that the requested header is associated with.

Implements:
ITransportHeaders.Item
Remarks
The key parameter must be a String.

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:
~TransportHeaders();

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

Return to top


Method: GetEnumerator()
Summary
Returns an enumerator of the stored transport headers.
C# Syntax:
public IEnumerator GetEnumerator();
Return Value:
An enumerator of the stored transport headers.
Implements:
ITransportHeaders.GetEnumerator

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.