UnobservedTaskExceptionEventArgs 클래스
정의
public ref class UnobservedTaskExceptionEventArgs : EventArgs
public class UnobservedTaskExceptionEventArgs : EventArgs
type UnobservedTaskExceptionEventArgs = class
inherit EventArgs
Public Class UnobservedTaskExceptionEventArgs
Inherits EventArgs
- 상속
설명
예외 속성은 관찰 된 것으로 표시 하지 않고 예외를 검사 하는 데 사용 되는 반면, SetObserved 메서드는 관찰 된 대로 예외를 표시 하는 데 사용 됩니다.The Exception property is used to examine the exception without marking it as observed, whereas the SetObserved method is used to mark the exception as observed. 예외를 관찰 된 것으로 표시 하면 기본적으로 프로세스를 종료 하는 예외 에스컬레이션 정책을 트리거할 수 없습니다.Marking the exception as observed prevents it from triggering exception escalation policy which, by default, terminates the process.
생성자
UnobservedTaskExceptionEventArgs(AggregateException) |
관찰되지 않은 예외를 사용하여 UnobservedTaskExceptionEventArgs 클래스의 새 인스턴스를 초기화합니다.Initializes a new instance of the UnobservedTaskExceptionEventArgs class with the unobserved exception. |
속성
Exception |
관찰되지 않은 예외입니다.The Exception that went unobserved. |
Observed |
이 예외가 "관찰됨"으로 표시되었는지 여부를 가져옵니다.Gets whether this exception has been marked as "observed." |
메서드
Equals(Object) |
지정된 개체가 현재 개체와 같은지 확인합니다.Determines whether the specified object is equal to the current object. (다음에서 상속됨 Object) |
GetHashCode() |
기본 해시 함수로 작동합니다.Serves as the default hash function. (다음에서 상속됨 Object) |
GetType() |
현재 인스턴스의 Type을 가져옵니다.Gets the Type of the current instance. (다음에서 상속됨 Object) |
MemberwiseClone() |
현재 Object의 단순 복사본을 만듭니다.Creates a shallow copy of the current Object. (다음에서 상속됨 Object) |
SetObserved() |
Exception을 "관찰됨"으로 표시하여 기본적으로 프로세스를 종료하는 예외 에스컬레이션 정책을 트리거하지 않도록 합니다.Marks the Exception as "observed," thus preventing it from triggering exception escalation policy which, by default, terminates the process. |
ToString() |
현재 개체를 나타내는 문자열을 반환합니다.Returns a string that represents the current object. (다음에서 상속됨 Object) |