Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TransactionAttribute Class

Specifies the type of transaction that is available to the attributed object. Permissible values are members of the TransactionOption enumeration.

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

System.Object
   System.Attribute
      System.EnterpriseServices.TransactionAttribute

[Visual Basic]
<AttributeUsage(AttributeTargets.Class)>
<ComVisible(False)>
NotInheritable Public Class TransactionAttribute
   Inherits Attribute
[C#]
[AttributeUsage(AttributeTargets.Class)]
[ComVisible(false)]
public sealed class TransactionAttribute : Attribute
[C++]
[AttributeUsage(AttributeTargets::Class)]
[ComVisible(false)]
public __gc __sealed class TransactionAttribute : public
   Attribute
[JScript]
public
   AttributeUsage(AttributeTargets.Class)
 ComVisible(false)
class TransactionAttribute 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

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

TransactionAttribute Members | System.EnterpriseServices Namespace

Show:
© 2015 Microsoft