EventLogException 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
EventLogException 클래스의 새 인스턴스를 초기화합니다.
오버로드
| Name | Description |
|---|---|
| EventLogException() |
EventLogException 클래스의 새 인스턴스를 초기화합니다. |
| EventLogException(Int32) |
예외에 대한 오류 코드를 사용하여 클래스의 EventLogException 새 인스턴스를 초기화합니다. |
| EventLogException(String) |
현재 예외를 설명하는 오류 메시지를 지정하여 클래스의 EventLogException 새 인스턴스를 초기화합니다. |
| EventLogException(SerializationInfo, StreamingContext) |
직렬화된 데이터를 사용하여 클래스의 새 인스턴스를 EventLogException 초기화합니다. |
| EventLogException(String, Exception) |
오류 메시지 및 내부 예외를 EventLogException 사용하여 클래스의 새 인스턴스를 초기화합니다. |
EventLogException()
EventLogException 클래스의 새 인스턴스를 초기화합니다.
public:
EventLogException();
public EventLogException();
Public Sub New ()
적용 대상
EventLogException(Int32)
예외에 대한 오류 코드를 사용하여 클래스의 EventLogException 새 인스턴스를 초기화합니다.
protected:
EventLogException(int errorCode);
protected EventLogException(int errorCode);
new System.Diagnostics.Eventing.Reader.EventLogException : int -> System.Diagnostics.Eventing.Reader.EventLogException
Protected Sub New (errorCode As Integer)
매개 변수
- errorCode
- Int32
이벤트 로그 관련 정보를 읽거나 구성하는 동안 발생한 오류에 대한 오류 코드입니다.
적용 대상
EventLogException(String)
현재 예외를 설명하는 오류 메시지를 지정하여 클래스의 EventLogException 새 인스턴스를 초기화합니다.
public:
EventLogException(System::String ^ message);
public EventLogException(string message);
new System.Diagnostics.Eventing.Reader.EventLogException : string -> System.Diagnostics.Eventing.Reader.EventLogException
Public Sub New (message As String)
매개 변수
- message
- String
현재 예외를 설명하는 오류 메시지입니다.
적용 대상
EventLogException(SerializationInfo, StreamingContext)
직렬화된 데이터를 사용하여 클래스의 새 인스턴스를 EventLogException 초기화합니다.
protected:
EventLogException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected EventLogException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
new System.Diagnostics.Eventing.Reader.EventLogException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Diagnostics.Eventing.Reader.EventLogException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)
매개 변수
- serializationInfo
- SerializationInfo
SerializationInfo throw되는 예외에 대한 직렬화된 개체 데이터를 보유하는 개체입니다.
- streamingContext
- StreamingContext
StreamingContext 원본 또는 대상에 대한 컨텍스트 정보를 포함하는 개체입니다.
적용 대상
EventLogException(String, Exception)
오류 메시지 및 내부 예외를 EventLogException 사용하여 클래스의 새 인스턴스를 초기화합니다.
public:
EventLogException(System::String ^ message, Exception ^ innerException);
public EventLogException(string message, Exception innerException);
new System.Diagnostics.Eventing.Reader.EventLogException : string * Exception -> System.Diagnostics.Eventing.Reader.EventLogException
Public Sub New (message As String, innerException As Exception)
매개 변수
- message
- String
현재 예외를 설명하는 오류 메시지입니다.
- innerException
- Exception
현재 예외를 발생시킨 예외 인스턴스입니다.