Provides data for the event that is raised when a faulted Task's exception goes unobserved.
Assembly: mscorlib (in mscorlib.dll)
Initializes a new instance of theclass with the unobserved exception.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Marks the Exception as "observed," thus preventing it from triggering exception escalation policy which, by default, terminates the process.
Returns a string that represents the current object.(Inherited from Object.)
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.
Available since 8
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 5.0
Windows Phone Silverlight
Available since 8.0
Available since 8.1
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.