Compartir a través de


IVsAppContainerProjectDeploy2.StartDeployAsync Method

Initiates deployment of the app container application on the local machine. It creates a "layout folder" containing the app files as defined in the package recipe file and registers the application with Windows package manager. After successfully executing of this process, the application is ready to be launched on the local box or on the simulator.

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 StartDeployAsync ( _
    deployFlags As UInteger, _
    packageContentsRecipe As String, _
    layoutLocation As String, _
    projectUniqueName As String, _
    deployCallback As IVsAppContainerProjectDeployCallback _
) As IVsAppContainerProjectDeployOperation
IVsAppContainerProjectDeployOperation StartDeployAsync(
    uint deployFlags,
    string packageContentsRecipe,
    string layoutLocation,
    string projectUniqueName,
    IVsAppContainerProjectDeployCallback deployCallback
)
IVsAppContainerProjectDeployOperation^ StartDeployAsync(
    [InAttribute] unsigned int deployFlags, 
    [InAttribute] String^ packageContentsRecipe, 
    [InAttribute] String^ layoutLocation, 
    [InAttribute] String^ projectUniqueName, 
    [InAttribute] IVsAppContainerProjectDeployCallback^ deployCallback
)
abstract StartDeployAsync : 
        deployFlags:uint32 * 
        packageContentsRecipe:string * 
        layoutLocation:string * 
        projectUniqueName:string * 
        deployCallback:IVsAppContainerProjectDeployCallback -> IVsAppContainerProjectDeployOperation
function StartDeployAsync(
    deployFlags : uint, 
    packageContentsRecipe : String, 
    layoutLocation : String, 
    projectUniqueName : String, 
    deployCallback : IVsAppContainerProjectDeployCallback
) : IVsAppContainerProjectDeployOperation

Parameters

  • deployFlags
    Type: UInt32

    [in] The deployment options for this instance of the app container application.

  • packageContentsRecipe
    Type: String

    [in] The package recipe file that defines the package contents.

  • layoutLocation
    Type: String

    [in] The location where the app container application is deployed.

  • projectUniqueName
    Type: String

    [in] The unique name of the project.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployOperation
The app container application deployed on the local machine.

.NET Framework Security

See Also

Reference

IVsAppContainerProjectDeploy2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace