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
'宣言
Private Function GetCategory ( _
<OutAttribute> ByRef pCategory As UInteger _
) As Integer Implements IVsErrorItem.GetCategory
int IVsErrorItem.GetCategory(
out uint pCategory
)
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.