WebHeaderCollection WebHeaderCollection WebHeaderCollection WebHeaderCollection Constructors

Definition

Overloads

WebHeaderCollection() WebHeaderCollection() WebHeaderCollection()

Initializes a new instance of the WebHeaderCollection class.

WebHeaderCollection(SerializationInfo, StreamingContext) WebHeaderCollection(SerializationInfo, StreamingContext) WebHeaderCollection(SerializationInfo, StreamingContext)

Initializes a new instance of the WebHeaderCollection class from the specified instances of the SerializationInfo and StreamingContext classes.

WebHeaderCollection() WebHeaderCollection() WebHeaderCollection()

Initializes a new instance of the WebHeaderCollection class.

public:
 WebHeaderCollection();
public WebHeaderCollection ();
Public Sub New ()

WebHeaderCollection(SerializationInfo, StreamingContext) WebHeaderCollection(SerializationInfo, StreamingContext) WebHeaderCollection(SerializationInfo, StreamingContext)

Initializes a new instance of the WebHeaderCollection class from the specified instances of the SerializationInfo and StreamingContext classes.

protected:
 WebHeaderCollection(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected WebHeaderCollection (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new System.Net.WebHeaderCollection : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.WebHeaderCollection

Parameters

serializationInfo
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

A SerializationInfo containing the information required to serialize the WebHeaderCollection.

streamingContext
StreamingContext StreamingContext StreamingContext StreamingContext

A StreamingContext containing the source of the serialized stream associated with the new WebHeaderCollection.

Exceptions

Remarks

This constructor implements the ISerializable interface for the WebHeaderCollection class.

See also

Applies to