ValidationContextExtensions::LogFatal Method (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.

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
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

context
Type: Microsoft.VisualStudio.Modeling.Validation::ValidationContext^

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.

Return to top
Show: