EventHandlerBase Class

Relativity Event Handlers
This is a base class for event handlers.
Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    kCura.EventHandler.EventHandlerBase
      More...

Namespace:  kCura.EventHandler
Assembly:  kCura.EventHandler (in kCura.EventHandler.dll) Version: 17.0.1.1 588f15fd7550dbf54835f3417a0142d4ea37dbb5
Syntax

[SerializableAttribute]
public abstract class EventHandlerBase : MarshalByRefObject, 
	IDisposable

[SerializableAttribute]
public abstract class EventHandlerBase : MarshalByRefObject, 
	IDisposable

The EventHandlerBase type exposes the following members.

Properties

  NameDescription
Public propertyActiveArtifact
Gets and/or sets an active artifact of the event handler.
Public propertyActiveLayout
Gets and/or sets an active layout of the event handler.
Public propertyActiveUser Obsolete.
Gets and/or sets an active user of the event handler.
Public propertyApplication
Gets and/or sets an application of the event handler.
Public propertyDatabaseConnection Obsolete.
Returns a database connection of the event handler.
Public propertyDescription
This property is being deprecated. Please assign a kCura.EventHandler.CustomAttributes.Description attribute to your class.
Public propertyHelper
Gets and/or sets the Helper property of the event hendler which returns IEHHelper object from Relativity.API.
Public propertyMasterDatabaseConnection Obsolete.
Returns a master database connection of the event handler.
Public propertyPageMode
Gets and/or sets a page mode of the event handler.
Top
Methods

  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetArtifactIdByGuid
Returns the corresponding artifact ID for the given guid identifier. Throws an exception if the artifact guid is not found.
Public methodGetAuthenticationToken Obsolete.
Returns an authentication session token used for an event handler interaction with Relativity.
Public methodGetGuidsByArtifactId
Returns the corresponding artifact guids for the given Artifact ID.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Public methodInitializeLifetimeService
Returns an object used to control the lifetime policy for this instance
(Overrides MarshalByRefObject.InitializeLifetimeService().)
Public methodSetDatabaseConnection Obsolete.
Sets a database connection for a given event handler.
Public methodSetMasterDatabaseConnection Obsolete.
Sets a master database connection for a given event handler.
Public methodSetSessionToken
Sets an authentication session token for a given event handler.
Public methodSetUser
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

See Also

Reference

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    kCura.EventHandler.EventHandlerBase
      kCura.EventHandler.ConsoleEventHandler
      kCura.EventHandler.PageInteractionEventHandler
      kCura.EventHandler.PostCopyEventHandler
      kCura.EventHandler.PostSaveEventHandler
      kCura.EventHandler.PreCascadeDeleteEventHandler
      kCura.EventHandler.PreCopyEventHandler
      kCura.EventHandler.PreDeleteEventHandler
      kCura.EventHandler.PreLoadEventHandler
      kCura.EventHandler.PreMassDeleteEventHandler
      kCura.EventHandler.PreSaveEventHandler
      kCura.EventHandler.SaveEventHandler