Share via


IMetaDataError::OnError Method

Provides notification of errors that occur during the metadata merge.

HRESULT OnError (
        [in] HRESULT   hrError, 
        [in] mdToken   token
);

Parameters

  • hrError
    [in] The HRESULT error value returned to the calling method.

  • token
    [in] The metadata token of the code object that was being merged when the error occurred.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

IMetaDataError Interface