IVsUpdateSolutionEvents2::UpdateSolution_Begin Method (Int32)
Visual Studio 2015
Called before any build actions have begun. This is the last chance to cancel the build before any building begins.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pfCancelUpdate
-
Type:
System::Int32
[in, out] Pointer to a flag indicating cancel update.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsUpdateSolutionEvents2::UpdateSolution_Begin(
[in, out] BOOL *pfCancelUpdate
);
Informs listeners that update actions might be about to begin. This method is sent before any dependency checking or build/deploy prompts. A component can set *pbCancel to true to cancel the update actions. If this event is sent, the UpdateSolution_Done event should be expected whether or not the event is canceled.
Show: