WebHeaderCollection 생성자

정의

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

오버로드

Name Description
WebHeaderCollection()

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

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

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

WebHeaderCollection()

Source:
WebHeaderCollection.cs
Source:
WebHeaderCollection.cs
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
Source:
WebHeaderCollection.cs
Source:
WebHeaderCollection.cs

주의

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

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

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);
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}")>]
new System.Net.WebHeaderCollection : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.WebHeaderCollection
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하는 데 필요한 정보를 포함하는 A.WebHeaderCollection

streamingContext
StreamingContext

StreamingContextWebHeaderCollection스트림과 연결된 serialize된 스트림의 원본을 포함하는 값입니다.

특성

예외

헤더 이름에 잘못된 문자가 포함되어 있습니다.

헤더 이름은 null 참조 또는 Empty.

설명

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

추가 정보

적용 대상