Udostępnij za pośrednictwem


IVsUpdateSolutionEvents2.UpdateSolution_Begin(Int32) Method

Definition

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.

Implements

Remarks

COM Signature

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.

Applies to