ObjectPoolingAttribute::Apply Method (Hashtable^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Called internally by the .NET Framework infrastructure while applying the ObjectPoolingAttribute class attribute to a serviced component.

Namespace:   System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

public:
virtual bool Apply(
	Hashtable^ info
) sealed

Parameters

info
Type: System.Collections::Hashtable^

A hash table that contains an internal object to which object pooling properties are applied, referenced by an internal key.

Return Value

Type: System::Boolean

true if the method has made changes.

Even though it is a public method, the Apply method is intended only to be used from within the .NET Framework infrastructure. It is sufficient for a developer to apply the ObjectPoolingAttribute class attribute and set other members in its interface.

.NET Framework
Available since 1.1
Return to top
Show: