ValidationContextExtensions::LogFatal Method (ValidationContext^, String^, String^, array<IElement^>^)
Visual Studio 2015
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.
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
public: [ExtensionAttribute] static void LogFatal( ValidationContext^ context, String^ description, String^ code, ... array<IElement^>^ elements )
Parameters
- description
-
Type:
System::String^
Message displayed in the error window.
- code
-
Type:
System::String^
A unique identifier for this message.
- elements
-
Type:
array<Microsoft.VisualStudio.Uml.Classes::IElement^>^
Elements that should be selected when the user double-clicks the error message.
Show: