ValidationExtensions.LogValidationError Method (IValidateArchitectureExtension, Graph, String, String, GraphErrorLevel, GraphNode, IEnumerable<GraphNode>, IEnumerable<GraphNode>)

 

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

Syntax

public static GraphNode LogValidationError(
    this IValidateArchitectureExtension extension,
    Graph graph,
    string id,
    string message,
    GraphErrorLevel errorLevel,
    GraphNode layerOrLayerModelNodeWithError,
    IEnumerable<GraphNode> errorSourceNodes = null,
    IEnumerable<GraphNode> errorTargetNodes = null
)
public:
[ExtensionAttribute]
static GraphNode^ LogValidationError(
    IValidateArchitectureExtension^ extension,
    Graph^ graph,
    String^ id,
    String^ message,
    GraphErrorLevel errorLevel,
    GraphNode^ layerOrLayerModelNodeWithError,
    IEnumerable<GraphNode^>^ errorSourceNodes = null,
    IEnumerable<GraphNode^>^ errorTargetNodes = null
)
static member LogValidationError : 
        extension:IValidateArchitectureExtension *
        graph:Graph *
        id:string *
        message:string *
        errorLevel:GraphErrorLevel *
        layerOrLayerModelNodeWithError:GraphNode *
        errorSourceNodes:IEnumerable<GraphNode> = null *
        errorTargetNodes:IEnumerable<GraphNode> = null -> GraphNode
<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

Parameters

Return Value

Type: Microsoft.VisualStudio.GraphModel.GraphNode

See Also

ValidationExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace

Return to top