IVsUpdateSolutionEvents2.UpdateSolution_StartUpdate Method (Int32%)
Called before the first project configuration is about to be built.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Déclaration
Function UpdateSolution_StartUpdate ( _
<OutAttribute> ByRef pfCancelUpdate As Integer _
) As Integer
'Utilisation
Dim instance As IVsUpdateSolutionEvents2
Dim pfCancelUpdate As Integer
Dim returnValue As Integer
returnValue = instance.UpdateSolution_StartUpdate(pfCancelUpdate)
int UpdateSolution_StartUpdate(
out int pfCancelUpdate
)
int UpdateSolution_StartUpdate(
[InAttribute] [OutAttribute] int% pfCancelUpdate
)
abstract UpdateSolution_StartUpdate :
pfCancelUpdate:int byref -> int
function UpdateSolution_StartUpdate(
pfCancelUpdate : int
) : int
Parameters
- pfCancelUpdate
Type: System.Int32%
[in, out] Pointer to a flag indicating cancel update.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsUpdateSolutionEvents.UpdateSolution_StartUpdate(Int32%)
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsUpdateSolutionEvents2::UpdateSolution_StartUpdate(
[in, out] BOOL *pfCancelUpdate
);
UpdateSolution_StartUpdate is sent just before the first update action begins. It is the last chance to cancel the update.
.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
IVsUpdateSolutionEvents2 Interface
IVsUpdateSolutionEvents2 Members