IVsUpdateSolutionEvents.UpdateSolution_Begin(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called before any build actions have begun. This is the last chance to cancel the build before any building begins.
public:
int UpdateSolution_Begin([Runtime::InteropServices::Out] int % pfCancelUpdate);
int UpdateSolution_Begin([Runtime::InteropServices::Out] int & pfCancelUpdate);
public int UpdateSolution_Begin (out int pfCancelUpdate);
abstract member UpdateSolution_Begin : int -> int
Public Function UpdateSolution_Begin (ByRef pfCancelUpdate As Integer) As Integer
Parameters
- pfCancelUpdate
- Int32
[in, out] Pointer to a flag indicating cancel update.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsUpdateSolutionEvents::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.