ObjectPoolingAttribute Constructor (Boolean, Int32, Int32)
.NET Framework (current version)
Initializes a new instance of the ObjectPoolingAttribute class and sets the Enabled, MaxPoolSize, and MinPoolSize properties.
Assembly: System.EnterpriseServices (in System.EnterpriseServices.dll)
Parameters
- enable
-
Type:
System::Boolean
true to enable object pooling; otherwise, false.
- minPoolSize
-
Type:
System::Int32
The minimum pool size.
- maxPoolSize
-
Type:
System::Int32
The maximum pool size.
The following code example creates a new ObjectPoolingAttribute.
.NET Framework
Available since 1.1
Available since 1.1
Show: