Compartir a través de


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

'Declaration
Function UpdateSolution_StartUpdate ( _
    <OutAttribute> ByRef pfCancelUpdate As Integer _
) As Integer
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: Int32%

    [in, out] Pointer to a flag indicating cancel update.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

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.

.NET Framework Security

See Also

Reference

IVsUpdateSolutionEvents2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace