Export (0) Print
Expand All

ObjectPoolingAttribute Class

Enables and configures object pooling for a component. This class cannot be inherited.

For a list of all members of this type, see ObjectPoolingAttribute Members.

System.Object
   System.Attribute
      System.EnterpriseServices.ObjectPoolingAttribute

[Visual Basic]
<AttributeUsage(AttributeTargets.Class)>
<ComVisible(False)>
NotInheritable Public Class ObjectPoolingAttribute
   Inherits Attribute
[C#]
[AttributeUsage(AttributeTargets.Class)]
[ComVisible(false)]
public sealed class ObjectPoolingAttribute : Attribute
[C++]
[AttributeUsage(AttributeTargets::Class)]
[ComVisible(false)]
public __gc __sealed class ObjectPoolingAttribute : public
   Attribute
[JScript]
public
   AttributeUsage(AttributeTargets.Class)
 ComVisible(false)
class ObjectPoolingAttribute extends Attribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

If object pooling is specified, it must not be disabled in the COM+ catalog; if enabled in the COM+ catalog, it must be specified on the component.

For a list of initial property values for an instance of ObjectPoolingAttribute, see the ObjectPoolingAttribute constructor.

For more information about using attributes, see Extending Metadata Using Attributes.

Requirements

Namespace: System.EnterpriseServices

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Enterpriseservices (in System.Enterpriseservices.dll)

See Also

ObjectPoolingAttribute Members | System.EnterpriseServices Namespace

Show:
© 2014 Microsoft