共用方式為


IVsAppContainerProjectDeploy.StartRemoteDeployAsync Method

Definition

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

public:
 Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployOperation ^ StartRemoteDeployAsync(System::UInt32 deployFlags, System::Object ^ deployConnection, System::String ^ packageContentsRecipe, System::String ^ projectUniqueName, Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployCallback ^ deployCallback);
public:
 Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployOperation ^ StartRemoteDeployAsync(unsigned int deployFlags, Platform::Object ^ deployConnection, Platform::String ^ packageContentsRecipe, Platform::String ^ projectUniqueName, Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployCallback ^ deployCallback);
Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployOperation StartRemoteDeployAsync(unsigned int deployFlags, winrt::Windows::Foundation::IInspectable const & deployConnection, std::wstring const & packageContentsRecipe, std::wstring const & projectUniqueName, Microsoft::VisualStudio::Shell::Interop::IVsAppContainerProjectDeployCallback const & deployCallback);
public Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployOperation StartRemoteDeployAsync (uint deployFlags, object deployConnection, string packageContentsRecipe, string projectUniqueName, Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployCallback deployCallback);
abstract member StartRemoteDeployAsync : uint32 * obj * string * string * Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployCallback -> Microsoft.VisualStudio.Shell.Interop.IVsAppContainerProjectDeployOperation
Public Function StartRemoteDeployAsync (deployFlags As UInteger, deployConnection As Object, packageContentsRecipe 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.

deployConnection
Object

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

packageContentsRecipe
String

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

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

Remarks

This method is safe to access from any thread.

Applies to