Export (0) Print
Expand All

SynchronizationAttribute Class

Sets the synchronization value of the component. This class cannot be inherited.

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

System.Object
   System.Attribute
      System.EnterpriseServices.SynchronizationAttribute

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

Both transaction and just-in-time (JIT) activation enable synchronization automatically.

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

SynchronizationAttribute Members | System.EnterpriseServices Namespace

Show:
© 2014 Microsoft