PropertyLockMode Enum

Definition

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

public enum class PropertyLockMode
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public enum PropertyLockMode
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type PropertyLockMode = 
Public Enum PropertyLockMode
Inheritance
PropertyLockMode
Attributes

Fields

Method 1

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 PropertyLockMode.Method when creating a property group in a constructor because this can cause a deadlock.

SetGet 0

Locks a property during a get or set, assuring that every get or set operation on a shared property is atomic.

Applies to