EventSourceException 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
EventSourceException 클래스의 새 인스턴스를 초기화합니다.
오버로드
| Name | Description |
|---|---|
| EventSourceException() |
EventSourceException 클래스의 새 인스턴스를 초기화합니다. |
| EventSourceException(String) |
지정된 오류 메시지를 사용하여 클래스의 EventSourceException 새 인스턴스를 초기화합니다. |
| EventSourceException(SerializationInfo, StreamingContext) |
사용되지 않음.
직렬화된 데이터를 사용하여 클래스의 새 인스턴스를 EventSourceException 초기화합니다. |
| EventSourceException(String, Exception) |
지정된 오류 메시지와 이 예외의 EventSourceException 원인인 내부 예외에 대한 참조를 사용하여 클래스의 새 인스턴스를 초기화합니다. |
EventSourceException()
- Source:
- EventSourceException.cs
- Source:
- EventSourceException.cs
- Source:
- EventSourceException.cs
- Source:
- EventSourceException.cs
- Source:
- EventSourceException.cs
EventSourceException 클래스의 새 인스턴스를 초기화합니다.
public:
EventSourceException();
public EventSourceException();
Public Sub New ()
적용 대상
EventSourceException(String)
- Source:
- EventSourceException.cs
- Source:
- EventSourceException.cs
- Source:
- EventSourceException.cs
- Source:
- EventSourceException.cs
- Source:
- EventSourceException.cs
지정된 오류 메시지를 사용하여 클래스의 EventSourceException 새 인스턴스를 초기화합니다.
public:
EventSourceException(System::String ^ message);
public EventSourceException(string message);
public EventSourceException(string? message);
new System.Diagnostics.Tracing.EventSourceException : string -> System.Diagnostics.Tracing.EventSourceException
Public Sub New (message As String)
매개 변수
- message
- String
오류를 설명하는 메시지입니다.
적용 대상
EventSourceException(SerializationInfo, StreamingContext)
- Source:
- EventSourceException.cs
- Source:
- EventSourceException.cs
- Source:
- EventSourceException.cs
- Source:
- EventSourceException.cs
- Source:
- EventSourceException.cs
주의
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
직렬화된 데이터를 사용하여 클래스의 새 인스턴스를 EventSourceException 초기화합니다.
protected:
EventSourceException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[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 EventSourceException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected EventSourceException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<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.Diagnostics.Tracing.EventSourceException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Diagnostics.Tracing.EventSourceException
new System.Diagnostics.Tracing.EventSourceException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Diagnostics.Tracing.EventSourceException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
매개 변수
- info
- SerializationInfo
serialize된 개체 데이터를 보유하는 개체입니다.
- context
- StreamingContext
원본 또는 대상에 대한 컨텍스트 정보입니다.
- 특성
적용 대상
EventSourceException(String, Exception)
- Source:
- EventSourceException.cs
- Source:
- EventSourceException.cs
- Source:
- EventSourceException.cs
- Source:
- EventSourceException.cs
- Source:
- EventSourceException.cs
지정된 오류 메시지와 이 예외의 EventSourceException 원인인 내부 예외에 대한 참조를 사용하여 클래스의 새 인스턴스를 초기화합니다.
public:
EventSourceException(System::String ^ message, Exception ^ innerException);
public EventSourceException(string message, Exception innerException);
public EventSourceException(string? message, Exception? innerException);
new System.Diagnostics.Tracing.EventSourceException : string * Exception -> System.Diagnostics.Tracing.EventSourceException
Public Sub New (message As String, innerException As Exception)
매개 변수
- message
- String
예외의 이유를 설명하는 오류 메시지입니다.
- innerException
- Exception
현재 예외의 원인이거나 null 내부 예외가 지정되지 않은 경우 예외입니다.
설명
이전 예외의 직접적인 결과로 throw되는 예외에는 속성의 이전 예외에 대한 참조가 InnerException 포함되어야 합니다. 속성 생성 InnerException 자에 전달 되는 동일한 값을 반환 하거나 null 속성 생성자에 내부 예외 값을 제공 하지 않는 경우 InnerException .