Method GetReferenceCount
GetReferenceCount(string)
Returns the tracked reference count for a pooled resource.
public int GetReferenceCount(string name)
Parameters
namestringThe identifier of the resource to query.
Returns
- int
The tracked reference count, or
0when the resource is not currently tracked.