Events Web Service

The Events class is the primary class in the [Events Web service] namespace. The Events class includes methods that manage the Project Server event handler associations.

Note

In the ASMX web service, Events is a class. In the WCF service, Events is an interface that is implemented in the EventsClient class. For information about using the EventsClient class in a WCF-based application, see the Events class constructor.

The [Events Web service] namespace is an arbitrary name for a reference to the Events.asmx web service (or the Events.svc service) of the PSI in Microsoft Project Server 2010. Methods in the Events class can read the list of Project Server events, read event handler associations for a specific event, or read all event handler associations. Methods in the Events class can create, update, and delete event handler associations.

Events methods typically use or return an EventsDataSet object or an EventHandlersDataSet object.

Classes

  Class Description
Public class EventHandlersDataSet Contains a collection of information for registering event handlers in Project Server.
Public class EventHandlersDataSet.EventHandlersDataTable Contains information about one or more event handlers for Project Server events.
Public class EventHandlersDataSet.EventHandlersRow Contains the settings for registering one event handler in Project Server.
Public class EventHandlersDataSet.EventHandlersRowChangeEvent Describes event handler settings for when the specified EventHandlersDataSet.EventHandlersRow data is edited.
Public class Events Includes methods for managing Project Server event handler associations. Read the list of Project Server events, event handler associations for a specific event, or all event handler associations. Create, update, and delete event handler associations.
Public class EventsDataSet Contains information about Project Server events.
Public class EventsDataSet.EventDataTable Contains a list of events in Project Server.
Public class EventsDataSet.EventRow Contains the information that is associated with a specific event.
Public class EventsDataSet.EventRowChangeEvent Event that occurs when data in a EventRow is changed.

Delegates

  Delegate Description
Public delegate EventHandlersDataSet.EventHandlersRowChangeEventHandler Represents the method that handles events which occur when an action is performed on EventHandlersDataSet.EventHandlersRow data.
Public delegate EventsDataSet.EventRowChangeEventHandler Represents the method that handles events which occur when an action is performed on EventsDataSet.EventRow data.

Enumerations

  Enumeration Description
Public enumeration PSEventID Identifies a Project Server pre-event or post-event.