Share via


IMetaDataError::OnError Method

Provides notification of errors that occur during the metadata merge.

HRESULT OnError (
    HRESULT   hrError, 
    mdToken   token
);

Parameters

Parameter Description

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

Reference

IMetaDataError Interface