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
声明
Function StopDeploy ( _
fSync As Integer _
) As Integer
用法
Dim instance As IVsDeployableProjectCfg
Dim fSync As Integer
Dim returnValue As Integer
returnValue = instance.StopDeploy(fSync)
int StopDeploy(
int fSync
)
int StopDeploy(
[InAttribute] int fSync
)
abstract StopDeploy :
fSync:int -> int
function StopDeploy(
fSync : int
) : int
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.
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.
See Also
Reference
IVsDeployableProjectCfg Interface