Share via


EventHandler class

inherits members from ClientObject

Represents the identification and location of a Project Server event handler.

Syntax

CSOM

class EventHandler 

JSOM

PS.EventHandler

REST Interface

Supported.

PS.EventHandler

http://contoso.sharepoint.com/sites/pwa/api/ProjectServer/EventHandlers('{handlerid}')

Members

✓ - Read Support       ✓ʷ - Write Support

Properties

Name .NET JSOM REST Type Description
AssemblyName ✓ʷ ✓ʷ ✓ʷ String Gets or sets the name of the assembly that is associated with the event handler.
ClassName ✓ʷ ✓ʷ ✓ʷ String Gets or sets the name of the class that is associated with the event handler.
Description ✓ʷ ✓ʷ ✓ʷ String Gets or sets the description of the event handler.
EndpointUrl ✓ʷ ✓ʷ ✓ʷ Uri Gets or sets the URL of the endpoint that is associated with the event handler.
Event Event Gets the event that triggers the event handler.
EventId Integer Gets the identifier of the event that is dispatched by the event handler. Please see PSEventId.
Id Guid Gets the GUID of the event handler.
Name ✓ʷ ✓ʷ ✓ʷ String Gets or sets the name of the event handler.
Order ✓ʷ ✓ʷ ✓ʷ Integer Gets or sets the order of placement of the event handler in a list of event handlers that are associated with an event.

Methods

Name .NET JSOM REST Return Type Description
DeleteObject() void Deletes the event handler object.

#### Method Details

DeleteObject()

Deletes the event handler object.

Syntax
void DeleteObject()
Parameters

None

Return Value

void

See Also

EventHandlerCollection
EventHandlerCreationInformation