ErrorTask.IVsErrorItem.GetCategory Method
Gets the category of the error.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Private Function GetCategory ( _
<OutAttribute> ByRef pCategory As UInteger _
) As Integer Implements IVsErrorItem.GetCategory
int IVsErrorItem.GetCategory(
out uint pCategory
)
private:
virtual int GetCategory(
[OutAttribute] unsigned int% pCategory
) sealed = IVsErrorItem::GetCategory
private abstract GetCategory :
pCategory:uint32 byref -> int
private override GetCategory :
pCategory:uint32 byref -> int
JScript does not support explicit interface implementations.
Parameters
pCategory
Type: System.UInt32%[out] Returns the TaskErrorCategory.
Return Value
Type: System.Int32
S_OK.
Implements
IVsErrorItem.GetCategory(UInt32%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.