AuthoringSink Constructor
Initializes the AuthoringSink class.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Syntax
'Declaration
Public Sub New ( _
reason As ParseReason, _
line As Integer, _
col As Integer, _
maxErrors As Integer _
)
public AuthoringSink(
ParseReason reason,
int line,
int col,
int maxErrors
)
Parameters
- reason
Type: Microsoft.VisualStudio.Package.ParseReason
[in] The reason for the parse given as a value from the ParseReason enumeration.
- line
Type: System.Int32
[in] The line number the parse started on.
- col
Type: System.Int32
[in] The offset into the line the parse started on.
- maxErrors
Type: System.Int32
[in] The maximum number of errors that are to be returned from the parser.
Remarks
You must call the base class constructor in your constructor if you derive from this class.
.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.