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
pHierProj
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy[in] Pointer to a hierarchy project object.
pCfgProj
Type: Microsoft.VisualStudio.Shell.Interop.IVsCfg[in] Pointer to a configuration project object.
pCfgSln
Type: Microsoft.VisualStudio.Shell.Interop.IVsCfg[in] Pointer to a configuration solution object.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.