示例#1
0
 /// <summary>
 /// 'POST' of Project.
 /// After a project configuration is finished building.
 /// </summary>
 /// <param name="pHierProj">Unspecified IVsHierarchy (Microsoft.VisualStudio.Shell.Interop.dll) Pointer to a hierarchy project object.</param>
 /// <param name="pCfgProj">Unspecified IVsCfg (Microsoft.VisualStudio.Shell.Interop.dll) Pointer to a configuration project object.</param>
 /// <param name="pCfgSln">Unspecified IVsCfg (Microsoft.VisualStudio.Shell.Interop.dll) Pointer to a configuration solution object.</param>
 /// <param name="dwAction">Double word containing the action.</param>
 /// <param name="fSuccess">Flag indicating success.</param>
 /// <param name="fCancel">Flag indicating cancel.</param>
 /// <returns>If the method succeeds, it returns Codes.Success. If it fails, it returns an error code.</returns>
 public int onProjectPost(object pHierProj, object pCfgProj, object pCfgSln, uint dwAction, int fSuccess, int fCancel)
 {
     try {
         return(link.onProjectPost(pHierProj, pCfgProj, pCfgSln, dwAction, fSuccess, fCancel));
     }
     catch (Exception ex) {
         Log.Error("[Client library] Failed onProjectPost: '{0}'", ex.Message);
     }
     return(Codes.Failed);
 }