Class OperationEventHandler
Abstract base class for an operation event handler.
Implements
Inherited Members
Namespace: Attachmate.Verastream.HostIntegrator.ScriptAPI
Assembly: Attachmate.Verastream.HostIntegrator.ScriptAPI.dll
Syntax
public abstract class OperationEventHandler : MarshalByRefObject, IEventHandler
Remarks
Abstract base class for an operation event handler. All classes that extend this class appear as operation event handlers in the VHI design tool.
Methods
ExecuteOperation(IExecuteOperationEvent)
Called to execute an operation.
Declaration
public virtual void ExecuteOperation(IExecuteOperationEvent vsEvent)
Parameters
Type | Name | Description |
---|---|---|
IExecuteOperationEvent | vsEvent | The event instance. |
Remarks
Called to execute an operation. Upon returning from this method,
VHI will wait until one of the model-defined destination entities
is recognized. If none are recognized within the operation's model
defined timeout, the operation fails.
During the course of the event, VHI will not process data from the host
while the event handler is executing. The host data will only be
processed during callbacks to VHI. Thus, at the points where the event
handler needs to wait for the host to respond, the event handler should
use the appropriate wait callbacks on the IScriptHostSession
interface.
Exceptions
Type | Condition |
---|---|
ApptrieveException | If an exception is thrown from this method the operation will fail. |
InitializeLifetimeService()
Tell the .NET Framework remoting system that instances of this type have an infinite lifetime.
Declaration
public override object InitializeLifetimeService()
Returns
Type | Description |
---|---|
object | A null value. |