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)
Syntax
| Visual Basic (Declaration) |
|---|
Sub RaiseEvent ( _ customEvent As ICustomEvent _ ) |
| C# |
|---|
void RaiseEvent( ICustomEvent customEvent ) |
| Visual C++ |
|---|
void RaiseEvent( ICustomEvent^ customEvent ) |
| JavaScript |
|---|
function raiseEvent(customEvent); |
Parameters
- customEvent
- Type: FileNet.Api.Events..::.ICustomEvent
The ICustomEvent object to be raised.