IVsDeployableProjectCfg.StopDeploy Method
Requests that a project stop a deployment operation.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function StopDeploy ( _
fSync As Integer _
) As Integer
int StopDeploy(
int fSync
)
int StopDeploy(
[InAttribute] int fSync
)
abstract StopDeploy :
fSync:int -> int
function StopDeploy(
fSync : int
) : int
Parameters
fSync
Type: 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: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsDeployableProjectCfg::StopDeploy(
[in] BOOL fSync
);
This method is called when a user presses the Cancel button during the deployment process.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.