Sage Modeling and Simulation Library

ResourceRequest..::..Reserve Method

Reserves the specified resource manager.

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

Syntax


public bool Reserve(
	IResourceManager resourceManager,
	bool blockAwaitingAcquisition
)

Parameters

resourceManager
Type: Highpoint.Sage.Resources..::..IResourceManager
The resource manager.
blockAwaitingAcquisition
Type: Boolean
if set to true [block awaiting acquisition].

Return Value

true if XXXX, false otherwise.

Exceptions


ExceptionCondition
ApplicationExceptionAcquire API on resource request was called with neither an explicit nor a default resource manager.