UnhandledError UnhandledError UnhandledError Class

Definition

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

public : sealed class UnhandledError : IUnhandledError
public sealed class UnhandledError : IUnhandledError
Public NotInheritable Class UnhandledError Implements IUnhandledError
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Handled Handled Handled

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

public : Platform::Boolean Handled { get; }
public bool Handled { get; }
Public ReadOnly Property Handled As bool
Value
Platform::Boolean bool bool

true if the error has been handled. A value of true permits the app to continue. false if the error has not been handled. A value of false can result in the app being terminated once this event propagates to the Windows Runtime system.

Methods

Propagate() Propagate() Propagate()

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

public : void Propagate()
public void Propagate()
Public Function Propagate() As void

Remarks

In addition to throwing the language-specific wrapped error, calling this method marks the error as handled (sets Handled to true). However, if an error is returned from a delegate, the handled state is set to false.