Partager via


IVsAppContainerProjectDeploy2.StartRemoteDeployAsync Method (UInt32, Object, String, String, IVsAppContainerProjectDeployCallback)

Initiate deployment of the app container application on a remote machine.

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

Parameters

  • deployFlags
    Type: UInt32

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

  • deployConnection
    Type: Object

    [in] The protocol used to interact with the remote machine.

  • packageContentsRecipe
    Type: String

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

  • 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 remote machine.

.NET Framework Security

See Also

Reference

IVsAppContainerProjectDeploy2 Interface

StartRemoteDeployAsync Overload

Microsoft.VisualStudio.Shell.Interop Namespace