Share via


ValidationContextExtensions.LogFatal Method (ValidationContext, String, String, 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)

Syntax

public static void LogFatal(
    this ValidationContext context,
    string description,
    string code,
    params IElement[] elements
)
public:
[ExtensionAttribute]
static void LogFatal(
    ValidationContext^ context,
    String^ description,
    String^ code,
    ... array<IElement^>^ elements
)
static member LogFatal : 
        context:ValidationContext *
        description:string *
        code:string *
        [<ParamArrayAttribute>] elements:IElement[] -> unit
<ExtensionAttribute>
Public Shared Sub LogFatal (
    context As ValidationContext,
    description As String,
    code As String,
    ParamArray elements As IElement()
)

Parameters

  • description
    Type: System.String

    Message displayed in the error window.

See Also

ValidationContextExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace

Return to top