다음을 통해 공유


TaskValidationMessage Constructor

Definition

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

description
String

problem description (this text will be surfaced to the UI

category
TaskCategory
code
String
violationType
ViolationType
helpKeyword
String

Applies to