共用方式為


PSEventID Enumeration

Identifies a Project Server pre-event or post-event.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
Public Enumeration PSEventID
'Usage
Dim instance As PSEventID
public enum PSEventID

Members

Member name Description
AdminReportingPeriodUpdated Value=0. Admin post-event.
AdminReportingPeriodUpdating Value=1. Admin pre-event.
AdminLineClassUpdated Value=2. Admin post-event.
AdminLineClassUpdating Value=3. Admin pre-event.
AdminStatusReportsDeleted Value=4. Admin post-event.
AdminStatusReportsDeleting Value=5. Admin pre-event.
WssInteropWssWorkspaceCreated Value=6. WssInterop post-event.
WssInteropWssWorkspaceCreating Value=7. WssInterop pre-event.
Deprecated8 Value=8. Deprecated; do not use.
Deprecated9 Value=9. Deprecated; do not use.
AdminAdSyncERPSynchronized Value=10. Admin post-event.
AdminAdSyncERPSynchronizing Value=11. Admin pre-event.
AdminAdSyncGroupSynchronized Value=12. Admin post-event.
AdminAdSyncGroupSynchronizing Value=13. Admin pre-event.
AdminAdSyncGroupsSynchronized Value=14. Admin post-event.
AdminAdSyncGroupsSynchronizing Value=15. Admin pre-event.
CalendarCreated Value=16. Calendar post-event.
CalendarCreating Value=17. Calendar pre-event.
CalendarDeleted Value=18. Calendar post-event.
CalendarDeleting Value=19. Calendar pre-event.
CalendarChanged Value=20. Calendar post-event.
CalendarChanging Value=21. Calendar pre-event.
CalendarCheckedOut Value=22. Calendar post-event.
CalendarCheckingOut Value=23. Calendar pre-event.
CalendarCheckedIn Value=24. Calendar post-event.
CalendarCheckingIn Value=25. Calendar pre-event.
CustomFieldsCreated Value=26. CustomFields post-event.
CustomFieldsCreating Value=27. CustomFields pre-event.
CustomFieldsDeleted Value=28. CustomFields post-event.
CustomFieldsDeleting Value=29. CustomFields pre-event.
CustomFieldsUpdated Value=30. CustomFields post-event.
CustomFieldsUpdating Value=31. CustomFields pre-event.
CustomFieldsCheckedOut Value=32. CustomFields post-event.
CustomFieldsCheckingOut Value=33. CustomFields pre-event.
CustomFieldsCheckedIn Value=34. CustomFields post-event.
CustomFieldsCheckingIn Value=35. CustomFields pre-event.
LookupTableCreated Value=36. LookupTable post-event.
LookupTableCreating Value=37. LookupTable pre-event.
LookupTableDeleted Value=38. LookupTable post-event.
LookupTableDeleting Value=39. LookupTable pre-event.
LookupTableUpdated Value=40. LookupTable post-event.
LookupTableUpdating Value=41. LookupTable pre-event.
LookupTableCheckedOut Value=42. LookupTable post-event.
LookupTableCheckingOut Value=43. LookupTable pre-event.
LookupTableCheckedIn Value=44. LookupTable post-event.
LookupTableCheckingIn Value=45. LookupTable pre-event.
ProjectCreated Value=46. Project post-event.
ProjectCreating Value=47. Project pre-event.
ProjectDeleted Value=48. Project post-event.
ProjectDeleting Value=49. Project pre-event.
ProjectSaved Value=50. Project post-event.
ProjectCheckIn Value=51. Project post-event.
ProjectSaveFailed Value=52. Project post-event.
ProjectPublished Value=53. Project post-event.
ProjectPublishing Value=54. Project pre-event.
ProjectWssWorkspaceAddressUpdated Value=55. Project post-event.
ProjectWssWorkspaceAddressUpdating Value=56. Project pre-event.
ProjectWssWorkspaceAddressDeleted Value=57. Project post-event.
ProjectWssWorkspaceAddressDeleting Value=58. Project pre-event.
ProjectActivityUpgraded Value=59. Project post-event.
ProjectActivityUpgrading Value=60. Project pre-event.
ReportingResourceCapacitiesChanged Value=61. Reporting post-event.
ReportingCustomFieldCreated Value=62. Reporting post-event.
ReportingCustomFieldChanged Value=63. Reporting post-event.
ReportingCustomFieldDeleted Value=64. Reporting post-event.
ReportingUserViewChanged Value=65. Reporting post-event.
ReportingFiscalPeriodChanged Value=66. Reporting post-event.
ReportingFiscalPeriodDeleted Value=67. Reporting post-event.
ReportingLookupTableCreated Value=68. Reporting post-event.
ReportingLookupTableChanged Value=69. Reporting post-event.
ReportingLookupTableDeleted Value=70. Reporting post-event.
ReportingProjectCreated Value=71. Reporting post-event.
ReportingProjectChanged Value=72. Reporting post-event.
ReportingProjectDeleted Value=73. Reporting post-event.
ReportingResourceCapacityTimeRangeChanged Value=74. Reporting post-event.
ReportingResourceCreated Value=75. Reporting post-event.
ReportingResourceChanged Value=76. Reporting post-event.
ReportingResourceDeleted Value=77. Reporting post-event.
ReportingTimesheetSaved Value=78. Reporting post-event.
ReportingTimesheetAdjusted Value=79. Reporting post-event.
ReportingTimesheetDeleted Value=80. Reporting post-event.
ReportingTimesheetClassChanged Value=81. Reporting post-event.
ReportingTimesheetPeriodCreated Value=82. Reporting post-event.
ReportingTimesheetPeriodChanged Value=83. Reporting post-event.
ReportingTimesheetPeriodDeleted Value=84. Reporting post-event.
ReportingTimesheetStatusChanged Value=85. Reporting post-event.
ReportingProjectWorkspaceCreated Value=86. Reporting post-event.
ReportingProjectWorkspaceChanged Value=87. Reporting post-event.
ReportingProjectWorkspaceDeleted Value=88. Reporting post-event.
ResourceCreated Value=89. Resource post-event.
ResourceCreating Value=90. Resource pre-event.
ResourceDeleted Value=91. Resource post-event.
ResourceDeleting Value=92. Resource pre-event.
ResourceDeactivated Value=93. Resource post-event.
ResourceDeactivating Value=94. Resource pre-event.
ResourceChanged Value=95. Resource post-event.
ResourceChanging Value=96. Resource pre-event.
ResourceActivated Value=97. Resource post-event.
ResourceActivating Value=98. Resource pre-event.
ResourceCheckedOut Value=99. Resource post-event.
ResourceCheckingOut Value=100. Resource pre-event.
ResourceCheckedIn Value=101. Resource post-event.
ResourceCheckingIn Value=102. Resource pre-event.
ResourceSetAuthorization Value=103. Resource post-event.
ResourceSettingAuthorization Value=104. Resource pre-event.
SecurityOrganizationalPermissionsUpdated Value=105. Security post-event.
SecurityOrganizationalPermissionsUpdating Value=106. Security pre-event.
SecurityGroupDeleted Value=107. Security post-event.
SecurityGroupDeleting Value=108. Security pre-event.
SecurityGroupCreated Value=109. Security post-event.
SecurityGroupCreating Value=110. Security pre-event.
SecurityGroupUpdated Value=111. Security post-event.
SecurityGroupUpdating Value=112. Security pre-event.
SecurityCategoryDeleted Value=113. Security post-event.
SecurityCategoryDeleting Value=114. Security pre-event.
SecurityCategoryCreated Value=115. Security post-event.
SecurityCategoryCreating Value=116. Security pre-event.
SecurityCategoryUpdated Value=117. Security post-event.
SecurityCategoryUpdating Value=118. Security pre-event.
SecurityTemplateCreated Value=119. Security post-event.
SecurityTemplateCreating Value=120. Security pre-event.
SecurityTemplateUpdated Value=121. Security post-event.
SecurityTemplateUpdating Value=122. Security pre-event.
SecurityTemplateDeleted Value=123. Security post-event.
SecurityTemplateDeleting Value=124. Security pre-event.
StatusReportsRequestCreated Value=125. StatusReports post-event.
StatusReportsRequestCreating Value=126. StatusReports pre-event.
StatusReportsRequestUpdated Value=127. StatusReports post-event.
StatusReportsRequestUpdating Value=128. StatusReports pre-event.
StatusReportsResponseCreated Value=129. StatusReports post-event.
StatusReportsResponseCreating Value=130. StatusReports pre-event.
StatusReportsResponseUpdated Value=131. StatusReports post-event.
StatusReportsResponseUpdating Value=132. StatusReports pre-event.
StatusingApplied Value=133. Statusing post-event.
StatusingApplying Value=134. Statusing pre-event.
StatusingHistoryDeleted Value=135. Statusing post-event.
StatusingHistoryDeleting Value=136. Statusing pre-event.
StatusingStatusUpdated Value=137. Statusing post-event.
StatusingStatusUpdating Value=138. Statusing pre-event.
StatusingStatusSubmitted Value=139. Statusing post-event.
StatusingStatusSubmiting Value=140. Statusing pre-event.
StatusingAssignmentDeleted Value=141. Statusing post-event.
StatusingAssignmentDeleting Value=142. Statusing pre-event.
StatusingAssignmentDelegated Value=143. Statusing post-event.
StatusingAssignmentDelegating Value=144. Statusing pre-event.
StatusingTaskCreated Value=145. Statusing post-event.
StatusingTaskCreating Value=146. Statusing pre-event.
StatusingAssignmentWorkDataSet Value=148. Statusing post-event.
StatusingAssignmentWorkDataSetting Value=149. Statusing pre-event.
StatusingApprovalsUpdated Value=149. Statusing post-event.
StatusingApprovalsUpdating Value=150. Statusing pre-event.
NotificationsSent Value=151. Notifications post-event.
NotificationsSending Value=152. Notifications pre-event.
RulesCreated Value=153. Rules post-event.
RulesCreating Value=154. Rules pre-event.
RulesDeleted Value=155. Rules post-event.
RulesDeleting Value=156. Rules pre-event.
RulesCopied Value=157. Rules post-event.
RulesCopying Value=158. Rules pre-event.
RulesProcessed Value=159. Rules post-event.
RulesProcessing Value=160. Rules pre-event.
TimesheetCreated Value=161. Timesheet post-event.
TimesheetCreating Value=162. Timesheet pre-event.
TimesheetDeleted Value=163. Timesheet post-event.
TimesheetDeleting Value=164. Timesheet pre-event.
TimesheetUpdated Value=165. Timesheet post-event.
TimesheetUpdating Value=166. Timesheet pre-event.
TimesheetSubmitted Value=167. Timesheet post-event.
TimesheetSubmitting Value=168. Timesheet pre-event.
TimesheetRecalled Value=169. Timesheet post-event.
TimesheetRecalling Value=170. Timesheet pre-event.
TimesheetReviewed Value=171. Timesheet post-event.
TimesheetReviewing Value=172. Timesheet pre-event.
TimesheetLineApproved Value=173. Timesheet post-event.
TimesheetLineApproving Value=174. Timesheet pre-event.
CubeAdminCubeBuilt Value=175. CubeAdmin post-event.
CubeAdminCubeBuilding Value=176. CubeAdmin pre-event.
ProjectUpdated Value=177. Project post-event.
ProjectUpdating Value=178. Project pre-event.
ProjectAdded Value=179. Project post-event.
ProjectAdding Value=180. Project pre-event.
ProjectEntitiesDeleted Value=181. Project post-event.
ProjectEntitiesDeleting Value=182. Project pre-event.
CubeAdminCubeProcessed Value=183. CubeAdmin post-event.
SecurityProjectCategoryCreated Value=184. Security post-event.
SecurityProjectCategoryCreating Value=185. Security pre-event.
SecurityProjectCategoryUpdated Value=186. Security post-event.
SecurityProjectCategoryUpdating Value=187. Security pre-event.
SecurityProjectCategoryDeleted Value=188. Security post-event.
SecurityProjectCategoryDeleting Value=189. Security pre-event.
ProjectUpdatedScheduledProject Value=190. Project post-event.
ProjectUpdatingScheduledProject Value=191. Project pre-event.
OptimizerPlannerSolutionCommitted Value=192. Optimizer post-event.
OptimizerOptimizerSolutionCommitted Value=193. Optimizer post-event.
ReportingTimesheetProjectAggregated Value=194. Reporting post-event.
WorkflowRunning Value=195. Workflow pre-event.
UserDelegationActivated Value=196. Resource post-event.
UserDelegationActivating Value=197. Resource pre-event.
UserDelegationChanged Value=198. Resource post-event.
UserDelegationChanging Value=199. Resource pre-event.
UserDelegationDeactivated Value=200. Resource post-event.
UserDelegationDeactivating Value=201. Resource pre-event.
UserDelegationCreated Value=202. Resource post-event.
UserDelegationCreating Value=203. Resource pre-event.
UserDelegationDeleted Value=204. Resource post-event.
UserDelegationDeleting Value=205. Resource pre-event.
ProjectSummaryPublished Value=206. Project post-event.
ProjectSummaryPublishing Value=207. Project pre-event.
ReportingWorkflowPhaseUpdated Value=208. Reporting post-event.
ReportingWorkflowPhaseDeleted Value=209. Reporting post-event.
ReportingWorkflowStageUpdated Value=210. Reporting post-event.
ReportingWorkflowStageDeleted Value=211. Reporting post-event.
ReportingEnterpriseProjectTypeUpdated Value=212. Reporting post-event.
ReportingEnterpriseProjectTypeDeleted Value=213. Reporting post-event.
ReportingProjectWorkflowInformationChanged Value=214. Reporting post-event.
ReportingProjectSummaryChanged Value=215. Reporting post-event.
ReportingCommittedSolutionDecisionChanged Value=216. Reporting post-event.
WorkflowProjectTypeChanging Value=217. Workflow pre-event.
WorkflowProjectTypeChanged Value=218. Workflow post-event.
WorkflowStageEntered Value=219. Workflow post-event.
WorkflowStarted Value=220. Workflow post-event.
WorkflowCompleted Value=221. Workflow post-event.
ResourcePlanResourcePlanPublished Value=222. ResourcePlan post-event.
ResourcePlanResourcePlanPublishing Value=223. ResourcePlan post-event.
ProjectSyncedProjectEnterpriseEntities Value=224. Project post-event.
ProjectSyncingProjectEnterpriseEntities Value=225. Project pre-event.

Remarks

Note

The [Events Web service] namespace also includes the PSEventID type.

When actions are canceled, there are some differences in behavior for the 88 pre-event handlers. You should test the behavior when an action is canceled, and provide instructions to users for the specific situation. In general, Project Professional 2010 shows an error message in the Status Bar that something is wrong in the queue, or that the project is not published, but does not display the CancelReason property to the end user. In Project Web App, with the June 2011 cumulative update for Project Server 2010, project detail pages (PDPs) do display the cancel reason. Some canceled actions also show in the Queue Job Error Details dialog box in Project Web App.

Some canceled actions also show in the Queue Job Error Details dialog box in Project Web App. With ProjectEventReceiver methods for example, if code in the OnCreating or OnUpdating event handlers sets the CancelReason property, that text would also be displayed in the queue information. However, the OnDeleting and OnSummaryPublished event handlers do not show the CancelReason value in the queue information. For more information about developing and testing pre-event handlers, see How to: Create a Project Server Event Handler and Log an Event.

See Also

Reference

Microsoft.Office.Project.Server.Library Namespace

Other Resources

Project Server Events

Events for the RDB

How to: Create a Project Server Event Handler and Log an Event