Share via


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; }
var hResult = unhandledExceptionEventArgs.exception;
Public ReadOnly Property Exception As Exception

Property Value

The HRESULT code or a mapped common language runtime (CLR) System.Exception.

Applies to

See also