IVsErrorItem::GetCategory Method (UInt32)

 

Returns the category of the error.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int GetCategory(
	[OutAttribute] unsigned int% pCategory
)

Parameters

pCategory
Type: System::UInt32

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

Return Value

Type: System::Int32

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
);
Return to top
Show: