TaskValidationMessage-Konstruktor
Konstruktor.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
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
)
Parameter
- description
Typ: System.String
ProblembeschreibungDieser Text wird dem Benutzer angezeigt.
- category
Typ: Microsoft.VisualStudio.Shell.TaskCategory
- code
Typ: System.String
- violationType
Typ: Microsoft.VisualStudio.Modeling.Validation.ViolationType
- helpKeyword
Typ: System.String
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.