Uređivanje

Dijeli putem


TransportHeaders Class

Definition

Stores a collection of headers used in the channel sinks.

public ref class TransportHeaders : System::Runtime::Remoting::Channels::ITransportHeaders
[System.Serializable]
public class TransportHeaders : System.Runtime.Remoting.Channels.ITransportHeaders
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public class TransportHeaders : System.Runtime.Remoting.Channels.ITransportHeaders
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public class TransportHeaders : System.Runtime.Remoting.Channels.ITransportHeaders
[<System.Serializable>]
type TransportHeaders = class
    interface ITransportHeaders
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type TransportHeaders = class
    interface ITransportHeaders
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Security.SecurityCritical>]
type TransportHeaders = class
    interface ITransportHeaders
Public Class TransportHeaders
Implements ITransportHeaders
Inheritance
TransportHeaders
Attributes
Implements

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.

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.

Constructors

TransportHeaders()

Initializes a new instance of the TransportHeaders class.

Properties

Item[Object]

Gets or sets a transport header that is associated with the given key.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator()

Returns an enumerator of the stored transport headers.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to