Export (0) Print
Expand All
Expand Minimize

PropertyLockMode Enumeration

Specifies the mode for accessing shared properties in the shared property group manager.

[Visual Basic]
<Serializable>
<ComVisible(False)>
Public Enum PropertyLockMode
[C#]
[Serializable]
[ComVisible(false)]
public enum PropertyLockMode
[C++]
[Serializable]
[ComVisible(false)]
__value public enum PropertyLockMode
[JScript]
public
   Serializable
 ComVisible(false)
enum PropertyLockMode

Members

Member name Description
Method Locks all the properties in the shared property group for exclusive use by the caller, as long as the caller's current method is executing.
CAUTION   Do not use Method when creating a property group in a constructor because this can cause a deadlock.
SetGet Locks a property during a get or set, assuring that every get or set operation on a shared property is atomic.

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

System.EnterpriseServices Namespace

Show:
© 2014 Microsoft