WebHeaderCollection 생성자

정의

WebHeaderCollection 클래스의 새 인스턴스를 초기화합니다.

오버로드

WebHeaderCollection()

WebHeaderCollection 클래스의 새 인스턴스를 초기화합니다.

WebHeaderCollection(SerializationInfo, StreamingContext)
사용되지 않음.

WebHeaderCollectionSerializationInfo 클래스에 지정된 인스턴스에서 StreamingContext 클래스의 새 인스턴스를 초기화합니다.

WebHeaderCollection()

Source:
WebHeaderCollection.cs
Source:
WebHeaderCollection.cs
Source:
WebHeaderCollection.cs

WebHeaderCollection 클래스의 새 인스턴스를 초기화합니다.

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

적용 대상

WebHeaderCollection(SerializationInfo, StreamingContext)

Source:
WebHeaderCollection.cs
Source:
WebHeaderCollection.cs
Source:
WebHeaderCollection.cs

주의

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

WebHeaderCollectionSerializationInfo 클래스에 지정된 인스턴스에서 StreamingContext 클래스의 새 인스턴스를 초기화합니다.

protected:
 WebHeaderCollection(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected WebHeaderCollection (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
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
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Net.WebHeaderCollection : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.WebHeaderCollection
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

매개 변수

serializationInfo
SerializationInfo

SerializationInfo을 serialize하는 데 필요한 정보가 들어 있는 WebHeaderCollection입니다.

streamingContext
StreamingContext

StreamingContext과 관련된 serialize된 스트림의 소스가 들어 있는 WebHeaderCollection입니다.

특성

예외

headerName에 잘못된 문자가 들어 있는 경우

headerName이 null 참조이거나 Empty인 경우

설명

이 생성자는 클래스에 ISerializable 대한 인터페이스를 구현합니다 WebHeaderCollection .

추가 정보

적용 대상