System.Runtime.Remoting.Channels.ITransportHeaders Interface

Assembly: Mscorlib.dll
Namespace: System.Runtime.Remoting.Channels
Summary
Stores a collection of headers used in the channel sinks.
C# Syntax:
public interface ITransportHeaders
See also:
System.Runtime.Remoting.Channels Namespace

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

Public Properties
Item Read-write

Gets or sets a transport header associated with the given key.
Public Methods
GetEnumerator Returns an IEnumerator that iterates over all entries in the ITransportHeaders object.

System.Runtime.Remoting.Channels.ITransportHeaders Member Details

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

key

The key the requested transport header is associated with.

Remarks
If a stored header is set to null, the key-value pair is removed.

Return to top


Method: GetEnumerator()
Summary
Returns an IEnumerator that iterates over all entries in the ITransportHeaders object.
C# Syntax:
IEnumerator GetEnumerator();
Return Value:
An IEnumerator that iterates over all entries in the ITransportHeaders object.

Return to top


Top of page

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