IVsAppContainerProjectDeploy.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.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.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: System.UInt32[in] The deployment options for this instance of the app container application.
packageContentsRecipe
Type: System.String[in] The package recipe file that defines the package contents.
layoutLocation
Type: System.String[in] The location where the app container application is deployed.
projectUniqueName
Type: System.String[in] The unique name of the project.
deployCallback
Type: Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployCallback[in] The callback routine that is to be notified when events occur.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployOperation
The app container application deployed on the local machine.
.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.