Partilhar via


ErrorCommandArgsBase Constructor

Definition

Creates an instance of ErrorCommandArgsBase with a list of matching error types.

protected:
 ErrorCommandArgsBase(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::ITextBuffer ^ subjectBuffer, System::Collections::Generic::IEnumerable<System::String ^> ^ errorTypeNames);
protected ErrorCommandArgsBase (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.ITextBuffer subjectBuffer, System.Collections.Generic.IEnumerable<string> errorTypeNames);
new Microsoft.VisualStudio.Text.Editor.Commanding.Commands.ErrorCommandArgsBase : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.ITextBuffer * seq<string> -> Microsoft.VisualStudio.Text.Editor.Commanding.Commands.ErrorCommandArgsBase
Protected Sub New (textView As ITextView, subjectBuffer As ITextBuffer, errorTypeNames As IEnumerable(Of String))

Parameters

textView
ITextView

The ITextView upon which to invoke the command.

subjectBuffer
ITextBuffer

The ITextBuffer upon which to invoke the command.

errorTypeNames
IEnumerable<String>

A list of error type names to include.

Remarks

errorTypeNames defaults to the set of all defined error types if not specified.

Applies to