Compartir a través de


IVsAppContainerProjectDeploy.StartDeployAsync Method

Definition

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.

public:
 Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployOperation ^ StartDeployAsync(System::UInt32 deployFlags, System::String ^ packageContentsRecipe, System::String ^ layoutLocation, System::String ^ projectUniqueName, Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployCallback ^ deployCallback);
public:
 Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployOperation ^ StartDeployAsync(unsigned int deployFlags, Platform::String ^ packageContentsRecipe, Platform::String ^ layoutLocation, Platform::String ^ projectUniqueName, Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployCallback ^ deployCallback);
Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployOperation StartDeployAsync(unsigned int deployFlags, std::wstring const & packageContentsRecipe, std::wstring const & layoutLocation, std::wstring const & projectUniqueName, Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployCallback const & deployCallback);
public Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployOperation StartDeployAsync (uint deployFlags, string packageContentsRecipe, string layoutLocation, string projectUniqueName, Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployCallback deployCallback);
abstract member StartDeployAsync : uint32 * string * string * string * Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployCallback -> Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployOperation
Public Function StartDeployAsync (deployFlags As UInteger, packageContentsRecipe As String, layoutLocation As String, projectUniqueName As String, deployCallback As IVsAppContainerProjectDeployCallback) As IVsAppContainerProjectDeployOperation

Parameters

deployFlags
UInt32

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

packageContentsRecipe
String

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

layoutLocation
String

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

projectUniqueName
String

[in] The unique name of the project.

deployCallback
IVsAppContainerProjectDeployCallback

[in] The callback routine that is to be notified when events occur.

Returns

The app container application deployed on the local machine.

Remarks

This method is safe to access from any thread.

Applies to