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( _ 
   ByVal customEvent As ICustomEvent _ 
)
C#
void RaiseEvent(
   ICustomEvent customEvent
)
C++
void RaiseEvent(
   ICustomEvent customEvent
) abstract 
J#
void RaiseEvent(
   ICustomEvent customEvent
)
JScript
function RaiseEvent(
   customEvent : ICustomEvent
)

Parameters

customEvent
The ICustomEvent object to be raised.

See Also