UnhandledExceptionEventArgs.Exception Property

Definition

Gets the HRESULT code associated with the unhandled exception.

public:
 property HResult Exception { HResult get(); };
HResult Exception();
public System.Exception Exception { get; }
Public ReadOnly Property Exception As Exception

Property Value

Windows.Foundation.HResult Exception

The HRESULT code (for Visual C++ component extensions (C++/CX)), or a mapped common language runtime (CLR) System.Exception.

Applies to

See also