ReusableResourceStoreBase<TResource>.AcquireCore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets access to the resource stored by this object, and removes the resource so that subsequent callers cannot be handed the same resource at the same time.
protected:
TResource AcquireCore();
protected:
TResource AcquireCore();
TResource AcquireCore();
protected TResource AcquireCore ();
member this.AcquireCore : unit -> 'Resource
Protected Function AcquireCore () As TResource
Returns
TResource
A currently-stored instance of the resource, or null if there are no instances currently available in the store.