IVsDeployableProjectCfg::StopDeploy Method (Int32)

 

Requests that a project stop a deployment operation.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int StopDeploy(
	int fSync
)

Parameters

fSync
Type: System::Int32

[in] Flag that is set to true if deployment should be stopped synchronously and false if it can be stopped asynchronously.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsDeployableProjectCfg::StopDeploy(
   [in] BOOL fSync
);

This method is called when a user presses the Cancel button during the deployment process.

Return to top
Show: