ValidationExtensions.LogValidationError 메서드

네임스페이스:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer
어셈블리:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer(Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll)

구문

‘선언
<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

매개 변수

반환 값

형식: Microsoft.VisualStudio.GraphModel.GraphNode

사용 정보

Visual Basic 및 C#에서는 이 메서드를 IValidateArchitectureExtension 형식의 모든 개체에서 인스턴스 메서드로 호출할 수 있습니다. 인스턴스 메서드 구문을 사용하여 이 메서드를 호출할 경우에는 첫 번째 매개 변수를 생략합니다. 자세한 내용은 확장 메서드(Visual Basic) 또는 확장 메서드(C# 프로그래밍 가이드)를 참조하십시오.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

ValidationExtensions 클래스

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer 네임스페이스