Sage Modeling and Simulation Library

IExecutive..::..RequestEvent Method (ExecEventReceiver, DateTime, Double, Object)

Requests that the executive queue up an event to be serviced at a specific time and priority.

Namespace:  Highpoint.Sage.SimCore
Assembly:  Sage4 (in Sage4.dll)

Syntax


long RequestEvent(
	ExecEventReceiver eer,
	DateTime when,
	double priority,
	Object userData
)

Parameters

eer
Type: Highpoint.Sage.SimCore..::..ExecEventReceiver
The ExecEventReceiver callback that is to receive the callback.
when
Type: DateTime
The date & time at which the callback is to be made.
priority
Type: Double
The priority of the callback. Higher numbers mean higher priorities.
userData
Type: Object
Object data to be provided in the callback.

Return Value

A code that can subsequently be used to identify the request, e.g. for removal.