ICLRErrorReportingManager Interface

Provides methods that allow the host to configure custom stack dumps for error reporting.

interface ICLRErrorReportingManager : IUnknown {
    HRESULT BeginCustomDump (
        [in] ECustomDumpFlavor dwFlavor,
        [in] DWORD dwNumItems,
        [in, size_is(dwNumItems), length_is(dwNumItems)]
             CustomDumpItem items[],
        DWORD dwReserved
    );
    HRESULT EndCustomDump ();
    HRESULT GetBucketParametersForCurrentException([out]
            BucketParameters *pParams);
};

Methods

Method

Description

ICLRErrorReportingManager::BeginCustomDump Method

Specifies the configuration of custom stack dumps for error reporting.

ICLRErrorReportingManager::EndCustomDump Method

Clears the custom stack dump configuration that was set by an earlier call to BeginCustomDump.

ICLRErrorReportingManager::GetBucketParametersForCurrentException Method

Gets the Watson bucket for the current exception on the calling thread.

Remarks

The BeginCustomDump method sets custom stack dump configuration. The EndCustomDump method clears the custom stack dump configuration and frees any associated state. It should be called after the custom dump is complete.

Important noteImportant Note:

Failure to call EndCustomDump causes memory to leak.

Requirements

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ECustomDumpItemKind Enumeration

Other Resources

Hosting Interfaces