ArtifactReferenceExtensionsInternal.CreateArtifactReferenceAsync – metoda (ILayer, GraphNode, EventHandler<CreateArtifactReferenceCompletedEventArgs>)
Toto rozhraní API podporuje infrastrukturu rozhraní .NET Framework a není určeno pro použití přímo v kódu.
Obor názvů: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.Internal
Sestavení: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (v Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll)
Syntaxe
'Deklarace
<ExtensionAttribute> _
Public Shared Sub CreateArtifactReferenceAsync ( _
parentLayer As ILayer, _
artifact As GraphNode, _
completed As EventHandler(Of CreateArtifactReferenceCompletedEventArgs) _
)
public static void CreateArtifactReferenceAsync(
this ILayer parentLayer,
GraphNode artifact,
EventHandler<CreateArtifactReferenceCompletedEventArgs> completed
)
[ExtensionAttribute]
public:
static void CreateArtifactReferenceAsync(
ILayer^ parentLayer,
GraphNode^ artifact,
EventHandler<CreateArtifactReferenceCompletedEventArgs^>^ completed
)
static member CreateArtifactReferenceAsync :
parentLayer:ILayer *
artifact:GraphNode *
completed:EventHandler<CreateArtifactReferenceCompletedEventArgs> -> unit
public static function CreateArtifactReferenceAsync(
parentLayer : ILayer,
artifact : GraphNode,
completed : EventHandler<CreateArtifactReferenceCompletedEventArgs>
)
Parametry
- parentLayer
Typ: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayer
- artifact
Typ: Microsoft.VisualStudio.GraphModel.GraphNode
- completed
Typ: System.EventHandler<CreateArtifactReferenceCompletedEventArgs>
Poznámka k použití
V jazycích Visual Basic a C# lze tuto metodu volat jako metodu instance libovolného objektu typu ILayer. Pokud k volání této metody použijete syntaxi metody instance, vynechejte první parametr. Další informace naleznete v tématech Extension Methods (Visual Basic) a Extension Methods (C# Programming Guide).
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é
Odkaz
ArtifactReferenceExtensionsInternal Třída
CreateArtifactReferenceAsync – přetížení
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.Internal – obor názvů