Sage Modeling and Simulation Library

IResourceManager..::..Reserve Method

Tries to reserve a resource that satisfies the specified resource request.

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

Syntax


bool Reserve(
	IResourceRequest resourceRequest,
	bool blockAwaitingAcquisition
)

Parameters

resourceRequest
Type: Highpoint.Sage.Resources..::..IResourceRequest
The resource request.
blockAwaitingAcquisition
Type: Boolean
if set to true the event thread will block awaiting reservation of a resource.

Return Value

true if XXXX, false otherwise.