Skip to main content
ICoreApplicationUnhandledError interface

Applies to Windows and Windows Phone

Adds an error handling event for global error handling from the system that app models can use.

Syntax


public interface ICoreApplicationUnhandledError

Public Interface ICoreApplicationUnhandledError

public interface class ICoreApplicationUnhandledError

Attributes

[ Version(0x06030000)]
[ WebHostHidden()]

Members

The ICoreApplicationUnhandledError interface has these types of members:

Events

The ICoreApplicationUnhandledError interface has these events.

EventDescription
UnhandledErrorDetected Occurs when there is an error in an async completion or event handler that wasn't otherwise handled by system or app code.

 

Remarks

Most scenarios won't use this interface for either implementation or casting. Instead, most app scenarios will use CoreApplication.UnhandledErrorDetected or similar events provided by the app models for UI frameworks.

The ICoreApplicationUnhandledError mechanism for error handling is primarily for C++ developers who are using Microsoft DirectX. For Windows Store app using C++, C#, or Visual Basic you should handle UnhandledException, which is exposed by the Application object in that app model.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.ApplicationModel.Core
Windows::ApplicationModel::Core [C++]

Metadata

Windows.winmd