Raises a custom event for this
Namespace: FileNet.Api.Core
Assembly: FileNet.Api (in filenet.api.dll)
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
object; that is, the subscription'sISubscribable
property has been set to thisSubscriptionTarget
object.ISubscribable - A subscription subscribes to the custom event to be raised; that is, the subscription's
property has been set to aSubscribedEvents
collection that includes the custom event.ISubscribedEventList
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
object to be raised.ICustomEvent