HttpListenerException 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
HttpListenerException 클래스의 새 인스턴스를 초기화합니다.
오버로드
| Name | Description |
|---|---|
| HttpListenerException() |
HttpListenerException 클래스의 새 인스턴스를 초기화합니다. |
| HttpListenerException(Int32) |
지정된 오류 코드를 사용하여 클래스의 HttpListenerException 새 인스턴스를 초기화합니다. |
| HttpListenerException(Int32, String) |
지정된 오류 코드 및 메시지를 사용하여 클래스의 HttpListenerException 새 인스턴스를 초기화합니다. |
| HttpListenerException(SerializationInfo, StreamingContext) |
지정된 클래스 인스턴스에서 클래스의 HttpListenerException 새 인스턴스를 SerializationInfoStreamingContext 초기화합니다. |
HttpListenerException()
HttpListenerException 클래스의 새 인스턴스를 초기화합니다.
public:
HttpListenerException();
public HttpListenerException();
Public Sub New ()
설명
이 생성자는 가장 최근의 Windows 오류를 사용하여 속성 및 ErrorCode 속성을 설정합니다Message.
적용 대상
HttpListenerException(Int32)
지정된 오류 코드를 사용하여 클래스의 HttpListenerException 새 인스턴스를 초기화합니다.
public:
HttpListenerException(int errorCode);
public HttpListenerException(int errorCode);
new System.Net.HttpListenerException : int -> System.Net.HttpListenerException
Public Sub New (errorCode As Integer)
매개 변수
설명
값 errorCode 은 속성을 설정하는 ErrorCode 데 사용됩니다.
적용 대상
HttpListenerException(Int32, String)
지정된 오류 코드 및 메시지를 사용하여 클래스의 HttpListenerException 새 인스턴스를 초기화합니다.
public:
HttpListenerException(int errorCode, System::String ^ message);
public HttpListenerException(int errorCode, string message);
new System.Net.HttpListenerException : int * string -> System.Net.HttpListenerException
Public Sub New (errorCode As Integer, message As String)
매개 변수
설명
값 errorCode 은 속성을 설정하는 ErrorCode 데 사용됩니다. 매개 message 변수는 속성을 설정하는 Message 데 사용됩니다.
적용 대상
HttpListenerException(SerializationInfo, StreamingContext)
지정된 클래스 인스턴스에서 클래스의 HttpListenerException 새 인스턴스를 SerializationInfoStreamingContext 초기화합니다.
protected:
HttpListenerException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected HttpListenerException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new System.Net.HttpListenerException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Net.HttpListenerException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)
매개 변수
- serializationInfo
- SerializationInfo
SerializationInfo 새 HttpListenerException 개체를 역직렬화하는 데 필요한 정보가 들어 있는 개체입니다.
- streamingContext
- StreamingContext
StreamingContext 개체입니다.