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)

int UpdateSolution_StartUpdate(
	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_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.

Return to top
Show: