Share via


IVsErrorItem.GetCategory(UInt32) Method

Definition

Returns the category of the error.

int GetCategory([Runtime::InteropServices::Out] unsigned int & pCategory);

Parameters

pCategory
UInt32

[out] A VSERRORCATEGORY value, a value from the __VSERRORCATEGORY enumeration, specifying an error, warning, or informational message.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsErrorItem::GetCategory(  
   [out] VSERRORCATEGORY* pCategory  
);  

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022