Rediger

Del via


Synchronization Dependencies

Synchronization values can be automatically determined or constrained by the configuration of other properties, such as transactional requirements and just-in-time (JIT) activation. For example, COM+ enforces synchronization both for transactional and for JIT-activated components.

These dependencies exist because components that are JIT-activated or participating in transactions must have proper isolation and concurrency behavior. Therefore, COM+ requires that access to these components be serialized by enforcing synchronization. (For details on these dependencies, see COM+ Just-in-Time Activation.)

The following tables show the characteristics of the COM+ synchronization attribute values.

Transactional requirement

When transactions are set to Synchronization can be set to
Disabled
Anything, depending on JIT activation
Not Supported
Anything, depending on JIT activation
Supported
Required
Required
Required
Requires New
Required or Requires New

JIT Activation

When JIT Activation is set to Synchronization can be set to
Enabled
Required or Requires New
Disabled
Anything

For more detail about how transaction, JIT Activation, and Synchronization attributes behave together, see Configuring Transactions.

Setting the Synchronization Attribute

Synchronization Attribute Values