Anteckning
Å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.
Contains logic to validate a single model element or all model elements in a store or partition.
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public Class ValidationController
'Usage
Dim instance As ValidationController
public class ValidationController
public ref class ValidationController
public class ValidationController
Remarks
A ValidationController is created if you enable any validation setting in the model.
For example, this XML element in the DslDefinition file (the .dsl file) enables validation and creates a ValidationController object:
<Validation UsesOpen="true" UsesMenu="true" UsesSave="true" UsesCustom="false" />
You can derive a class from ValidationController and register to be notified of validation events.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Validation.ValidationController
Microsoft.VisualStudio.Modeling.Shell.VsValidationController
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.