IVsUpdateSolutionEvents2::UpdateSolution_Begin Method (Int32)

 

Called before any build actions have begun. This is the last chance to cancel the build before any building begins.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int UpdateSolution_Begin(
	int% pfCancelUpdate
)

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.

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.

Return to top
Show: