PropertyLockMode PropertyLockMode PropertyLockMode 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
type PropertyLockMode = 
Public Enum PropertyLockMode
Inheritance
PropertyLockModePropertyLockModePropertyLockModePropertyLockMode
Attributes

Fields

Method Method Method 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 SetGet SetGet 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