IVsErrorItem.GetCategory(UInt32) Method

Definition

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  
);  

Applies to