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.
- category
Type: Microsoft.VisualStudio.Shell.TaskCategory
- code
Type: System.String
- violationType
Type: Microsoft.VisualStudio.Modeling.Validation.ViolationType
- helpKeyword
Type: System.String
.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.