EventHandlerCreationInformation class

Contains the properties that can be set when creating a EventHandler.

Syntax

CSOM

class EventHandlerCreationInformation 

JSOM

PS.EventHandlerCreationInformation

REST Interface

Supported.

PS.EventHandlerCreationInformation

http://contoso.sharepoint.com/sites/pwa/api/ProjectServer/EventHandlers/Add

POST Example (not all fields may be required)

body = {
	'parameters': {
		'AssemblyName':'value', 
		'ClassName':'value', 
		'Description':'value', 
		'EndpointUrl':'value', 
		'EventId':'value', 
		'Id':'value', 
		'Name':'value', 
		'Order':'value'		
	}

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 network location of the event handler.
EventId ✓ʷ ✓ʷ ✓ʷ Integer Gets or sets the GUID of the event that triggers the event handler.
Id ✓ʷ ✓ʷ ✓ʷ Guid Gets or sets 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 an event handler in a list of event handlers that are triggered by an event.

See Also

EventHandler
EventHandlerCollection