IEventHandlerManager.AttachAsync Method

Relativity Services API
Attaches an event handler to an object type.

Namespace:  Relativity.Services.Interfaces.EventHandler
Assembly:  Relativity.Services.Interfaces (in Relativity.Services.Interfaces.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax

Task AttachAsync(
	int workspaceID,
	int objectTypeID,
	int eventHandlerID
)

Parameters

workspaceID
Type: System.Int32
The workspace ArtifactID of the object type. Use -1 to indicate the admin workspace.
objectTypeID
Type: System.Int32
ArtifactID of the object type.
eventHandlerID
Type: System.Int32
ID of the event handler.

Return Value

Type: Task
See Also

Reference