IVsUpdateSolutionEvents2.UpdateProjectCfg_Done Method
Called right after a project configuration is finished building.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
Function UpdateProjectCfg_Done ( _
pHierProj As IVsHierarchy, _
pCfgProj As IVsCfg, _
pCfgSln As IVsCfg, _
dwAction As UInteger, _
fSuccess As Integer, _
fCancel 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 fSuccess As Integer
Dim fCancel As Integer
Dim returnValue As Integer
returnValue = instance.UpdateProjectCfg_Done(pHierProj, _
pCfgProj, pCfgSln, dwAction, fSuccess, _
fCancel)
int UpdateProjectCfg_Done(
IVsHierarchy pHierProj,
IVsCfg pCfgProj,
IVsCfg pCfgSln,
uint dwAction,
int fSuccess,
int fCancel
)
int UpdateProjectCfg_Done(
[InAttribute] IVsHierarchy^ pHierProj,
[InAttribute] IVsCfg^ pCfgProj,
[InAttribute] IVsCfg^ pCfgSln,
[InAttribute] unsigned int dwAction,
[InAttribute] int fSuccess,
[InAttribute] int fCancel
)
function UpdateProjectCfg_Done(
pHierProj : IVsHierarchy,
pCfgProj : IVsCfg,
pCfgSln : IVsCfg,
dwAction : uint,
fSuccess : int,
fCancel : 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.
fSuccess
Type: System.Int32[in] Flag indicating success.
fCancel
Type: System.Int32[in] 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_Done(
[in] IVsHierarchy *pHierProj,
[in] IVsCfg *pCfgProj,
[in] IVsCfg *pCfgSln,
[in] DWORD dwAction,
[in] BOOL fSuccess,
[in] BOOL fCancel
);
Permissions
- 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.
See Also
Reference
IVsUpdateSolutionEvents2 Interface