ValidationContextExtensions Class

 

Extensions for ValidationContext.

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

System::Object
  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml::ValidationContextExtensions

[ExtensionAttribute]
public ref class ValidationContextExtensions abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticLogError(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.

System_CAPS_pubmethodSystem_CAPS_staticLogFatal(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.

System_CAPS_pubmethodSystem_CAPS_staticLogMessage(ValidationContext^, String^, String^, array<IElement^>^)

Display an information message in the Visual Studio error list.

System_CAPS_pubmethodSystem_CAPS_staticLogViolation(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.

System_CAPS_pubmethodSystem_CAPS_staticLogWarning(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.

Return to top
Show: