TaskValidationMessage Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ctor
public:
TaskValidationMessage(Microsoft::VisualStudio::Modeling::Validation::ValidationContext ^ context, System::String ^ description, Microsoft::VisualStudio::Shell::TaskCategory category, System::String ^ code, Microsoft::VisualStudio::Modeling::Validation::ViolationType violationType, System::String ^ helpKeyword);
public TaskValidationMessage (Microsoft.VisualStudio.Modeling.Validation.ValidationContext context, string description, Microsoft.VisualStudio.Shell.TaskCategory category, string code, Microsoft.VisualStudio.Modeling.Validation.ViolationType violationType, string helpKeyword);
new Microsoft.VisualStudio.Modeling.Shell.TaskValidationMessage : Microsoft.VisualStudio.Modeling.Validation.ValidationContext * string * Microsoft.VisualStudio.Shell.TaskCategory * string * Microsoft.VisualStudio.Modeling.Validation.ViolationType * string -> Microsoft.VisualStudio.Modeling.Shell.TaskValidationMessage
Public Sub New (context As ValidationContext, description As String, category As TaskCategory, code As String, violationType As ViolationType, helpKeyword As String)
Parameters
- context
- ValidationContext
- description
- String
problem description (this text will be surfaced to the UI
- category
- TaskCategory
- code
- String
- violationType
- ViolationType
- helpKeyword
- String