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

‘선언
Function UpdateProjectCfg_Begin ( _
    pHierProj As IVsHierarchy, _
    pCfgProj As IVsCfg, _
    pCfgSln As IVsCfg, _
    dwAction As UInteger, _
    <OutAttribute> ByRef pfCancel As Integer _
) As Integer
‘사용 방법
Dim instance As IVsUpdateSolutionEvents2
Dim pHierProj As IVsHierarchy
Dim pCfgProj As IVsCfg
Dim pCfgSln As IVsCfg
Dim dwAction As UInteger
Dim pfCancel As Integer
Dim returnValue As Integer

returnValue = instance.UpdateProjectCfg_Begin(pHierProj, _
    pCfgProj, pCfgSln, dwAction, pfCancel)
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: System.UInt32
    [in] Double word containing the action.
  • pfCancel
    Type: System.Int32%
    [in, out] Pointer to a flag indicating cancel.

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

IVsUpdateSolutionEvents2 Members

Microsoft.VisualStudio.Shell.Interop Namespace