EventSource.ConstructionException 속성

정의

이벤트 소스 생성 중에 throw된 모든 예외를 가져옵니다.

public:
 property Exception ^ ConstructionException { Exception ^ get(); };
public Exception ConstructionException { get; }
public Exception? ConstructionException { get; }
member this.ConstructionException : Exception
Public ReadOnly Property ConstructionException As Exception

속성 값

Exception

이벤트 소스 생성 중에 throw된 예외 또는 예외가 throw되지 않은 경우 null입니다.

설명

EventSource 생성자는 예외를 throw하지 않습니다. 대신 throw되는 예외는 속성에 ConstructionException 할당되고 메서드에 Trace.WriteLine 의해 기록됩니다.

적용 대상