Dela via


UnhandledError Class

Definition

Represents the error data for a system error as reported by an UnhandledErrorDetected event.

public ref class UnhandledError sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class UnhandledError final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class UnhandledError
Public NotInheritable Class UnhandledError
Inheritance
Object Platform::Object IInspectable UnhandledError
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Handled

Gets a value that indicates whether the error has been handled.

Methods

Propagate()

Wraps the underlying error info in a language specific exception, and throws the error.

Applies to

See also