IVsUpdateSolutionEvents.UpdateSolution_Begin Method

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)


Function UpdateSolution_Begin ( _
    <OutAttribute> ByRef pfCancelUpdate As Integer _
) As Integer
‘사용 방법
Dim instance As IVsUpdateSolutionEvents
Dim pfCancelUpdate As Integer
Dim returnValue As Integer

returnValue = instance.UpdateSolution_Begin(pfCancelUpdate)
int UpdateSolution_Begin(
    out int pfCancelUpdate
int UpdateSolution_Begin(
    [InAttribute] [OutAttribute] int% pfCancelUpdate
abstract UpdateSolution_Begin : 
        pfCancelUpdate:int byref -> int 
function UpdateSolution_Begin(
    pfCancelUpdate : int
) : int


  • 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.


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.

.NET Framework Security

See Also


IVsUpdateSolutionEvents Interface

IVsUpdateSolutionEvents Members

Microsoft.VisualStudio.Shell.Interop Namespace