ValidationContext::LogFatal Method (String^, String^, array<ModelElement^>^)

 

Creates a fatal error for validation and logs a message in the validation context.

Namespace:   Microsoft.VisualStudio.Modeling.Validation
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public:
ValidationMessage^ LogFatal(
	String^ description,
	String^ code,
	... array<ModelElement^>^ elements
)

Parameters

description
Type: System::String^

The description of the error.

code
Type: System::String^

The code that is assigned to the error.

elements
Type: array<Microsoft.VisualStudio.Modeling::ModelElement^>^

The model elements that caused the error.

Return to top
Show: