ValidationContextExtensions Class
Extensions for ValidationContext.
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml::ValidationContextExtensions
| Name | Description | |
|---|---|---|
![]() ![]() | LogError(ValidationContext^, String^, String^, array<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^, array<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^, array<IElement^>^) | Display an information message in the Visual Studio error list. |
![]() ![]() | LogViolation(ValidationContext^, ViolationType, String^, String^, array<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^, array<IElement^>^) | Display a warning message in the Visual Studio error list. |
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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

