IVsErrorItem.GetCategory(UInt32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the category of the error.
public:
int GetCategory([Runtime::InteropServices::Out] System::UInt32 % pCategory);
int GetCategory([Runtime::InteropServices::Out] unsigned int & pCategory);
public int GetCategory(out uint pCategory);
abstract member GetCategory : uint32 -> int
Public Function GetCategory (ByRef pCategory As UInteger) As Integer
- pCategory
- UInt32
[out] A VSERRORCATEGORY value, a value from the __VSERRORCATEGORY enumeration, specifying an error, warning, or informational message.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsErrorItem::GetCategory(
[out] VSERRORCATEGORY* pCategory
);
Product | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |