LoggerEnrichmentOptions.IncludeExceptionMessage 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
예외가 기록될 때 예외 메시지를 포함할지 여부를 나타내는 값을 가져오거나 설정합니다.
public:
property bool IncludeExceptionMessage { bool get(); void set(bool value); };
public bool IncludeExceptionMessage { get; set; }
member this.IncludeExceptionMessage : bool with get, set
Public Property IncludeExceptionMessage As Boolean
속성 값
기본값은 false입니다.
설명
둘 다 IncludeExceptionMessage 예외 CaptureStackTraces 메시지로 true 설정된 경우 스택 추적에도 포함됩니다.