Compartir a través de


IVsUpdateSolutionEvents2.UpdateProjectCfg_Begin Method

Called right before a project configuration begins to build.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function UpdateProjectCfg_Begin ( _
    pHierProj As IVsHierarchy, _
    pCfgProj As IVsCfg, _
    pCfgSln As IVsCfg, _
    dwAction As UInteger, _
    <OutAttribute> ByRef pfCancel As Integer _
) As Integer
int UpdateProjectCfg_Begin(
    IVsHierarchy pHierProj,
    IVsCfg pCfgProj,
    IVsCfg pCfgSln,
    uint dwAction,
    out int pfCancel
)
int UpdateProjectCfg_Begin(
    [InAttribute] IVsHierarchy^ pHierProj, 
    [InAttribute] IVsCfg^ pCfgProj, 
    [InAttribute] IVsCfg^ pCfgSln, 
    [InAttribute] unsigned int dwAction, 
    [InAttribute] [OutAttribute] int% pfCancel
)
abstract UpdateProjectCfg_Begin : 
        pHierProj:IVsHierarchy * 
        pCfgProj:IVsCfg * 
        pCfgSln:IVsCfg * 
        dwAction:uint32 * 
        pfCancel:int byref -> int
function UpdateProjectCfg_Begin(
    pHierProj : IVsHierarchy, 
    pCfgProj : IVsCfg, 
    pCfgSln : IVsCfg, 
    dwAction : uint, 
    pfCancel : int
) : int

Parameters

  • dwAction
    Type: UInt32

    [in] Double word containing the action.

  • pfCancel
    Type: Int32%

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

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::UpdateProjectCfg_Begin(
   [in] IVsHierarchy *pHierProj,
   [in] IVsCfg *pCfgProj,
   [in] IVsCfg *pCfgSln,
   [in] DWORD dwAction,
   [in, out] BOOL *pfCancel
);

.NET Framework Security

See Also

Reference

IVsUpdateSolutionEvents2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace