Share via


ValidationExtensions.LogValidationError Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function LogValidationError ( _
    extension As IValidateArchitectureExtension, _
    graph As Graph, _
    id As String, _
    message As String, _
    errorLevel As GraphErrorLevel, _
    layerOrLayerModelNodeWithError As GraphNode, _
    errorSourceNodes As IEnumerable(Of GraphNode), _
    errorTargetNodes As IEnumerable(Of GraphNode) _
) As GraphNode
public static GraphNode LogValidationError(
    this IValidateArchitectureExtension extension,
    Graph graph,
    string id,
    string message,
    GraphErrorLevel errorLevel,
    GraphNode layerOrLayerModelNodeWithError,
    IEnumerable<GraphNode> errorSourceNodes,
    IEnumerable<GraphNode> errorTargetNodes
)
[ExtensionAttribute]
public:
static GraphNode^ LogValidationError(
    IValidateArchitectureExtension^ extension, 
    Graph^ graph, 
    String^ id, 
    String^ message, 
    GraphErrorLevel errorLevel, 
    GraphNode^ layerOrLayerModelNodeWithError, 
    IEnumerable<GraphNode^>^ errorSourceNodes, 
    IEnumerable<GraphNode^>^ errorTargetNodes
)
static member LogValidationError : 
        extension:IValidateArchitectureExtension * 
        graph:Graph * 
        id:string * 
        message:string * 
        errorLevel:GraphErrorLevel * 
        layerOrLayerModelNodeWithError:GraphNode * 
        errorSourceNodes:IEnumerable<GraphNode> * 
        errorTargetNodes:IEnumerable<GraphNode> -> GraphNode
public static function LogValidationError(
    extension : IValidateArchitectureExtension, 
    graph : Graph, 
    id : String, 
    message : String, 
    errorLevel : GraphErrorLevel, 
    layerOrLayerModelNodeWithError : GraphNode, 
    errorSourceNodes : IEnumerable<GraphNode>, 
    errorTargetNodes : IEnumerable<GraphNode>
) : GraphNode

Parameters

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphNode

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IValidateArchitectureExtension. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

ValidationExtensions Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace