Source::CreateErrorTaskItem Method (TextSpan, MARKERTYPE, String^)
Visual Studio 2015
Creates a new error task item for the Error List, for the supplied text, marker type, and file name.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
public: virtual DocumentTask^ CreateErrorTaskItem( TextSpan span, MARKERTYPE markerType, String^ filename )
Parameters
- span
-
Type:
Microsoft.VisualStudio.TextManager.Interop::TextSpan
A TextSpan structure, which defines a block of text.
- markerType
-
Type:
Microsoft.VisualStudio.TextManager.Interop::MARKERTYPE
A member of the T:Microsoft.VisualStudio.TextManager.MARKERTYPE enumeration.
- filename
-
Type:
System::String^
The name of the file.
Show: