IVsUpdateSolutionEvents.UpdateSolution_StartUpdate Method

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)

Syntax

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

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

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.

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.

.NET Framework Security

See Also

Reference

IVsUpdateSolutionEvents Interface

IVsUpdateSolutionEvents Members

Microsoft.VisualStudio.Shell.Interop Namespace