TaskValidationMessage Constructor

Constructor.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaração
Public Sub New ( _
    context As ValidationContext, _
    description As String, _
    category As TaskCategory, _
    code As String, _
    violationType As ViolationType, _
    helpKeyword As String _
)
public TaskValidationMessage(
    ValidationContext context,
    string description,
    TaskCategory category,
    string code,
    ViolationType violationType,
    string helpKeyword
)
public:
TaskValidationMessage(
    ValidationContext^ context, 
    String^ description, 
    TaskCategory category, 
    String^ code, 
    ViolationType violationType, 
    String^ helpKeyword
)
new : 
        context:ValidationContext * 
        description:string * 
        category:TaskCategory * 
        code:string * 
        violationType:ViolationType * 
        helpKeyword:string -> TaskValidationMessage
public function TaskValidationMessage(
    context : ValidationContext, 
    description : String, 
    category : TaskCategory, 
    code : String, 
    violationType : ViolationType, 
    helpKeyword : String
)

Parameters

  • description
    Type: System.String
    Problem description. This text will be shown to the user.

.NET Framework Security

See Also

Reference

TaskValidationMessage Class

Microsoft.VisualStudio.Modeling.Shell Namespace