ArtifactReferenceExtensionsInternal.CreateArtifactReferenceAsync Method (ILayer, GraphNode, EventHandler<CreateArtifactReferenceCompletedEventArgs>)
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.Internal
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll)
Syntax
'Declaration
<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>
)
Parameters
- parentLayer
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayer
- artifact
Type: Microsoft.VisualStudio.GraphModel.GraphNode
- completed
Type: System.EventHandler<CreateArtifactReferenceCompletedEventArgs>
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ILayer. 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ArtifactReferenceExtensionsInternal Class
CreateArtifactReferenceAsync Overload
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.Internal Namespace