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: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

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

See Also

Reference

IMetaDataError Interface