The ResourceManager type exposes the following members.
Attempts to acquire a proscribed quantity of a resource in this resource pool. If the resource has already been reserved under this resourceRequest, it simply acquires that resource. If no resource has been reserved, then the best available resource will be reserved, and then acquired.
Acquires the resource and quantity specifed by the resource request, blocking until it can return successfully.
Adds a resource to this resource manager.
Clears out the resources in this manager's pool.
Deserializes this object from the specified XmlSerializatonContext.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Retrieves an enumerator across all of the resources in this pool.
Serves as the default hash function.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Initialize the identity of this model object, once.
Creates a shallow copy of the current Object.(Inherited from Object.)
Releases the resource held under this resource request back into the resource pool.
Removes a resource from this resource manager.
Attempts to reserve a proscribed quantity of a particular resource in this resource pool. This removes the resource quantity from availability for further reservation & acquisition.
Determines and reserves the 'best' resource in the pool for the specified resource request. The determination is based on the access regulator agreeing that the requestor may request it, and the scoring algorithm in the resourceRequest providing the best score for the resource.
Reserves the resource and quantity specifed by the resource request, blocking until it can return successfully.
Serializes this object to the specified XmlSerializatonContext.
Returns a string that represents the current object.(Inherited from Object.)
Unreserves a quantity of resource from this pool that was previously reserved under the provided resource request.