ValidationContextExtensions Class
Extensions for ValidationContext.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.ValidationContextExtensions
Syntax
public static class ValidationContextExtensions
[ExtensionAttribute]
public ref class ValidationContextExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type ValidationContextExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class ValidationContextExtensions
Methods
Name | Description | |
---|---|---|
LogError(ValidationContext, String, String, IElement[]) | Display an error message in the Visual Studio error list. When the user attempts to save the model, ask whether to continue. |
|
LogFatal(ValidationContext, String, String, IElement[]) | Display an error message in the Visual Studio error list. If the user attempts to save the model, warn that it might not be possible to re-open it. |
|
LogMessage(ValidationContext, String, String, IElement[]) | Display an information message in the Visual Studio error list. |
|
LogViolation(ValidationContext, ViolationType, String, String, IElement[]) | Display a message of a specified kind in the Visual Studio error list. Generic version of the other Log methods. |
|
LogWarning(ValidationContext, String, String, IElement[]) | Display a warning message in the Visual Studio error list. |
Remarks
For more information about UML diagrams, see Create models for your app.
For more information about using the UML API, see Extend UML models and diagrams.
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.
See Also
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace
Return to top