IVsDeployableProjectCfg.StopDeploy(Int32) 方法

定义

请求项目停止部署操作。

public:
 int StopDeploy(int fSync);
public:
 int StopDeploy(int fSync);
int StopDeploy(int fSync);
public int StopDeploy (int fSync);
abstract member StopDeploy : int -> int
Public Function StopDeploy (fSync As Integer) As Integer

参数

fSync
Int32

true 如果部署应同步停止并且可以异步停止,则设置为 false

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell:

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

当用户在部署过程中按下 "取消" 按钮时,将调用此方法。

适用于