IVsErrorItem.GetCategory(UInt32) Method
Definition
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
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
);