ObjectPoolingAttribute.Apply(Hashtable) Method

Definition

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

C#
public bool Apply(System.Collections.Hashtable info);

Parameters

info
Hashtable

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

Returns

true if the method has made changes; otherwise, false.

Remarks

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.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1