VsShellUtilities.GetErrorListItems Method
Gets the items in the error list.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function GetErrorListItems ( _
serviceProvider As IServiceProvider _
) As IEnumerable(Of IVsTaskItem)
public static IEnumerable<IVsTaskItem> GetErrorListItems(
IServiceProvider serviceProvider
)
public:
static IEnumerable<IVsTaskItem^>^ GetErrorListItems(
IServiceProvider^ serviceProvider
)
static member GetErrorListItems :
serviceProvider:IServiceProvider -> IEnumerable<IVsTaskItem>
public static function GetErrorListItems(
serviceProvider : IServiceProvider
) : IEnumerable<IVsTaskItem>
Parameters
serviceProvider
Type: IServiceProviderThe service provider.
Return Value
Type: IEnumerable<IVsTaskItem>
The error list items.
.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.