IVsDeployStatusCallback::OnStartDeploy Method (Int32)
Visual Studio 2015
Notifies the environment that a deployment operation has begun.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pfContinue
-
Type:
System::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.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
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.
Show: