IVsSolutionBuildManager.CanCancelUpdateSolutionConfiguration Method
Enables or disables the Cancel menu item.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function CanCancelUpdateSolutionConfiguration ( _
<OutAttribute> ByRef pfCanCancel As Integer _
) As Integer
int CanCancelUpdateSolutionConfiguration(
out int pfCanCancel
)
int CanCancelUpdateSolutionConfiguration(
[OutAttribute] int% pfCanCancel
)
abstract CanCancelUpdateSolutionConfiguration :
pfCanCancel:int byref -> int
function CanCancelUpdateSolutionConfiguration(
pfCanCancel : int
) : int
Parameters
pfCanCancel
Type: Int32%[out] Pointer to a flag indicating whether or nor the update can be cancelled.
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 IVsSolutionBuildManager::CanCancelUpdateSolutionConfiguration(
[out] BOOL *pfCanCancel
);
.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.