Share via


ReusableResourceStoreBase<TResource>.AcquireCore Method

Definition

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.

Applies to