IXCLRDataExceptionNotification::OnTypeUnloaded Method

Client implemented callback which is made during a call to IXCLRDataProcess::TranslateExceptionRecordToNotification when a given exception represents the unloading of a type instance.

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.

Syntax

HRESULT OnTypeUnloaded(
    [in] IXCLRDataTypeInstance *typeInst
);

Parameters

typeInst
[in] The type instance which is being unloaded.

Remarks

The provided method is part of the IXCLRDataExceptionNotification interface and corresponds to the 11th slot of the virtual method table.

Requirements

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

See also