DefaultPooledRegistrationPolicyTPooledObject Methods |
The DefaultPooledRegistrationPolicyTPooledObject generic type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Get |
Invoked when an instance of TPooledObject is requested. The policy can invoke getFromPool to
retrieve an instance from the pool. Equally, it could decide to ignore the pool, and just return a custom instance.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Return |
Invoked when an object is about to be returned into the pool. This method should be used to clean up the state of the object
after being used (resetting connections, releasing temporary resources, etc).
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |