ArtifactReferenceExtensions.CreateArtifactReferenceAsync Method (ILayer, Project, EventHandler<CreateArtifactReferenceCompletedEventArgs>)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This API is not CLS-compliant.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
<ExtensionAttribute> _
Public Shared Sub CreateArtifactReferenceAsync ( _
parentLayer As ILayer, _
project As Project, _
completed As EventHandler(Of CreateArtifactReferenceCompletedEventArgs) _
)
[CLSCompliantAttribute(false)]
public static void CreateArtifactReferenceAsync(
this ILayer parentLayer,
Project project,
EventHandler<CreateArtifactReferenceCompletedEventArgs> completed
)
[CLSCompliantAttribute(false)]
[ExtensionAttribute]
public:
static void CreateArtifactReferenceAsync(
ILayer^ parentLayer,
Project^ project,
EventHandler<CreateArtifactReferenceCompletedEventArgs^>^ completed
)
[<CLSCompliantAttribute(false)>]
static member CreateArtifactReferenceAsync :
parentLayer:ILayer *
project:Project *
completed:EventHandler<CreateArtifactReferenceCompletedEventArgs> -> unit
public static function CreateArtifactReferenceAsync(
parentLayer : ILayer,
project : Project,
completed : EventHandler<CreateArtifactReferenceCompletedEventArgs>
)
Parameters
- parentLayer
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayer
- project
Type: EnvDTE.Project
- 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
ArtifactReferenceExtensions Class
CreateArtifactReferenceAsync Overload
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace