IVsAppContainerBootstrapper2.BootstrapAsync Method
Asynchronously bootstraps the given target
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime (in Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime.dll)
Syntax
'Declaration
Function BootstrapAsync ( _
projectUniqueName As String, _
target As String, _
cItems As Integer, _
packagesToDownload As String(), _
logger As IVsAppContainerBootstrapperLogger _
) As IVsTask
IVsTask BootstrapAsync(
string projectUniqueName,
string target,
int cItems,
string[] packagesToDownload,
IVsAppContainerBootstrapperLogger logger
)
IVsTask^ BootstrapAsync(
[InAttribute] String^ projectUniqueName,
[InAttribute] String^ target,
[InAttribute] int cItems,
[InAttribute] array<String^>^ packagesToDownload,
[InAttribute] IVsAppContainerBootstrapperLogger^ logger
)
abstract BootstrapAsync :
projectUniqueName:string *
target:string *
cItems:int *
packagesToDownload:string[] *
logger:IVsAppContainerBootstrapperLogger -> IVsTask
function BootstrapAsync(
projectUniqueName : String,
target : String,
cItems : int,
packagesToDownload : String[],
logger : IVsAppContainerBootstrapperLogger
) : IVsTask
Parameters
projectUniqueName
Type: StringThe name of the project.
target
Type: StringThe target.
cItems
Type: Int32The items.
packagesToDownload
Type: array<String[]The packages to download.
logger
Type: Microsoft.VisualStudio.Shell.Interop.IVsAppContainerBootstrapperLoggerAn optional callback to receive output messages.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsTask
An IVsTask whose result is an instance of IVsAppContainerBootstrapperResult, or an error code. This is E_ABORT if called on the main thread and an advised callback has aborted the operation; otherwise S_OK.
.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.