Represents a user-defined custom event.
A custom event is raised whenever an object to which it is subscribed calls its RaiseEvent method.
Namespace:
FileNet.Api.EventsTo create a CustomEvent object, and persist it to a Content Engine object store, call the CreateInstance method on the Factory.CustomEvent class.
You can instantiate a CustomEvent object in the following ways:
- By calling the GetInstance or FetchInstance method on the Factory.CustomEvent class.
- By retrieving the AuditedEvents property on the source object of the custom event, and iterating the EventSet collection for instances of CustomEvent objects.
- By retrieving a CustomEvent object from a CustomEventSet collection.
Assembly: FileNet.Api (in FileNet.Api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Interface ICustomEvent _ Implements IObjectChangeEvent, IEvent, IRepositoryObject, IIndependentlyPersistableObject, _ IIndependentObject, IEngineObject, ICloneable |
C# |
---|
public interface ICustomEvent : IObjectChangeEvent, IEvent, IRepositoryObject, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
Visual C++ |
---|
public interface class ICustomEvent : IObjectChangeEvent, IEvent, IRepositoryObject, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
JavaScript |
---|
FileNet.Api.Events.ICustomEvent = function(); FileNet.Api.Events.ICustomEvent.createInterface('FileNet.Api.Events.ICustomEvent'); |
Remarks
Metadata
Auditable: false
AllowsInstances: true
AllowsSubClasses: true
ClassDefinitionName: EventClassDefinition
IsDependent: false
IsHidden: false
Searchable: true
StorageType: ObjectStore
SuperclassName: ObjectChangeEvent