Share via


IVsDeployStatusCallback.OnStartDeploy(Int32) Method

Definition

Notifies the environment that a deployment operation has begun.

public:
 int OnStartDeploy([Runtime::InteropServices::Out] int % pfContinue);
int OnStartDeploy([Runtime::InteropServices::Out] int & pfContinue);
public int OnStartDeploy (out int pfContinue);
abstract member OnStartDeploy : int -> int
Public Function OnStartDeploy (ByRef pfContinue As Integer) As Integer

Parameters

pfContinue
Int32

[in, out] Pointer to a flag that is set to true if the deployment process can continue and false if it should be terminated.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsDeployStatusCallback::OnStartDeploy(  
   [in,out]BOOL *pfContinue  
);  

Projects call this method when they begin a deployment operation to alert the environment. The environment in turn can cancel the operation by setting the contents of pfContinue to false.

Applies to