TransportHeaders Class
Stores a collection of headers used in the channel sinks.
For a list of all members of this type, see TransportHeaders Members.
System.Object
System.Runtime.Remoting.Channels.TransportHeaders
[Visual Basic] <Serializable> Public Class TransportHeaders Implements ITransportHeaders [C#] [Serializable] public class TransportHeaders : ITransportHeaders [C++] [Serializable] public __gc class TransportHeaders : public ITransportHeaders [JScript] public Serializable class TransportHeaders implements ITransportHeaders
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
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.
Note This class makes a link demand and an inheritance demand at the class level. A SecurityException is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see Link Demands and Inheritance Demands.
Requirements
Namespace: System.Runtime.Remoting.Channels
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)
.NET Framework Security:
- SecurityPermission for operating with infrastructure code. Demand value: SecurityAction.LinkDemand; Permission Value: SecurityPermissionFlag.Infrastructure
- SecurityPermission for operating with infrastructure code. Demand value: SecurityAction.InheritanceDemand; Permission Value: SecurityPermissionFlag.Infrastructure
See Also
TransportHeaders Members | System.Runtime.Remoting.Channels Namespace