Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ObjectPoolingAttribute Constructor (Boolean)

 

Initializes a new instance of the ObjectPoolingAttribute class and sets the Enabled property.

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

public:
ObjectPoolingAttribute(
	bool enable
)

Parameters

enable
Type: System::Boolean

true to enable object pooling; otherwise, false.

The following code example creates a new ObjectPoolingAttribute.

[ObjectPooling(true)]
public ref class ObjectPoolingAttributeCtorBool : public ServicedComponent
{
};

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft