Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Constructor.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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
)
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: StringProblem description. This text will be shown to the user.
- category
Type: Microsoft.VisualStudio.Shell.TaskCategory
- code
Type: String
- violationType
Type: Microsoft.VisualStudio.Modeling.Validation.ViolationType
- helpKeyword
Type: 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.