ValidationContextExtensions Class
Extensions for ValidationContext.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.ValidationContextExtensions
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class ValidationContextExtensions
public static class ValidationContextExtensions
[ExtensionAttribute]
public ref class ValidationContextExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type ValidationContextExtensions = class end
public final class ValidationContextExtensions
The ValidationContextExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
LogError | Display an error message in the Visual Studio error list. When the user attempts to save the model, ask whether to continue. | |
LogFatal | 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 | Display an information message in the Visual Studio error list. | |
LogViolation | Display a message of a specified kind in the Visual Studio error list. Generic version of the other Log methods. | |
LogWarning | Display a warning message in the Visual Studio error list. |
Top
Remarks
For more information about UML diagrams, see Developing Models for Software Design.
For more information about using the UML API, see Extending 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
Reference
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace