IMetaDataError::OnError Method

Provides notification of errors that occur during the metadata merge.

Syntax

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 System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: Available since 1.0

See also