Raises a custom event for this
ISubscribable object.
For example, you can define a custom event class in the Content Engine for an operation
such as publishing a document, then specify the custom event in a call to the
raiseEvent
method on a
IDocument object after you call the
publish method on that document.
Before you can use this method, the following conditions must be met:
- An appropriate CustomEvent object must exist.
- A subscription subscribes to the ISubscribable object; that is, the subscription's
SubscriptionTarget property has been set to this ISubscribable object.
- A subscription subscribes to the custom event to be raised; that is, the subscription's
SubscribedEvents property has been set to a
ISubscribedEventList collection that includes the custom event.
Namespace:
FileNet.Api.Core
Assembly:
FileNet.Api (in FileNet.Api.dll)
Visual Basic (Declaration) |
---|
Sub RaiseEvent ( _
customEvent As ICustomEvent _
) |
JavaScript |
---|
function raiseEvent(customEvent); |