IXCLRDataExceptionNotification2 Interface

Caller provided interface which derives from IXCLRDataExceptionNotification and includes callback methods for various CLR notifications which occur via system exceptions.

Note

This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.

Methods

Method Description
OnAppDomainLoaded Callback made if the exception represents the loading of a particular app domain.
OnAppDomainUnloaded Callback made if the exception represents the unloading of a particular app domain.
OnException Callback made if the exception represents a managed exception being raised.

Remarks

This interface is implemented by users of the IXCLRDataProcess::TranslateExceptionRecordToNotification method. It is not exposed through any headers or library files. However, it's a COM interface that derives from IXCLRDataExceptionNotification with GUID 31201a94-4337-49b7-aef7-0c755054091f and can be implemented through the usual COM mechanisms. The list of methods above is the complete list of non IXCLRDataExceptionNotification# and IUnknown methods on this interface and are in vtable order.

Requirements

Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7

See also