Share via


ArtifactReferenceExtensions.CreateArtifactReferenceAsync Method (ILayer, Project, EventHandler<CreateArtifactReferenceCompletedEventArgs>, Object)

 

Link this layer to a Visual Studio project. This is an asynchronous operation. The completed event will be called when the operation has terminated.

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

Syntax

[CLSCompliantAttribute(false)]
public static void CreateArtifactReferenceAsync(
    this ILayer parentLayer,
    Project project,
    EventHandler<CreateArtifactReferenceCompletedEventArgs> completed,
    object userState
)
public:
[ExtensionAttribute]
[CLSCompliantAttribute(false)]
static void CreateArtifactReferenceAsync(
    ILayer^ parentLayer,
    Project^ project,
    EventHandler<CreateArtifactReferenceCompletedEventArgs^>^ completed,
    Object^ userState
)
[<CLSCompliantAttribute(false)>]
static member CreateArtifactReferenceAsync : 
        parentLayer:ILayer *
        project:Project *
        completed:EventHandler<CreateArtifactReferenceCompletedEventArgs> *
        userState:Object -> unit
<ExtensionAttribute>
<CLSCompliantAttribute(False)>
Public Shared Sub CreateArtifactReferenceAsync (
    parentLayer As ILayer,
    project As Project,
    completed As EventHandler(Of CreateArtifactReferenceCompletedEventArgs),
    userState As Object
)

Parameters

See Also

CreateLayer
CreateArtifactReferenceAsync Overload
ArtifactReferenceExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace

Return to top