ValidationExtensions.LogValidationError – metoda
Obor názvů: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer
Sestavení: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (v Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll)
Syntaxe
'Deklarace
<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
Parametry
- extension
Typ: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.IValidateArchitectureExtension
- graph
Typ: Microsoft.VisualStudio.GraphModel.Graph
- id
Typ: String
- message
Typ: String
- layerOrLayerModelNodeWithError
Typ: Microsoft.VisualStudio.GraphModel.GraphNode
- errorSourceNodes
Typ: IEnumerable<GraphNode>
- errorTargetNodes
Typ: IEnumerable<GraphNode>
Vrácená hodnota
Typ: Microsoft.VisualStudio.GraphModel.GraphNode
Poznámka k použití
V jazycích Visual Basic a C# lze tuto metodu volat jako metodu instance libovolného objektu typu IValidateArchitectureExtension. Pokud k volání této metody použijete syntaxi metody instance, vynechejte první parametr. Další informace naleznete v tématech Metody rozšíření (Visual Basic) a Metody rozšíření (Průvodce programováním v C#).
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.
Viz také
Referenční dokumentace
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer – obor názvů