Compartir a través de


IVsUpdateSolutionEvents.UpdateSolution_StartUpdate(Int32) Method

Definition

Called before the first project configuration is about to be built.

public:
 int UpdateSolution_StartUpdate([Runtime::InteropServices::Out] int % pfCancelUpdate);
int UpdateSolution_StartUpdate([Runtime::InteropServices::Out] int & pfCancelUpdate);
public int UpdateSolution_StartUpdate (out int pfCancelUpdate);
abstract member UpdateSolution_StartUpdate : int -> int
Public Function UpdateSolution_StartUpdate (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_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.

Applies to