Automatic transactions require JIT activations and synchronization, which Windows 2000 Component Services configures by default.
The following class defines the Transaction attribute.
public enum TransactionOption { Ignored = 0, None = 1, Supported = 1, Required = 2, RequiresNew = 3 } [AttributeUsage(AttributeTargets.Class)] public class TransactionAttribute : Attribute { public TransactionAttribute(); public TransactionAttribute(TransactionOption policy); }
The default value for this attribute is None.