NamedWaitHandleOptions.CurrentUserOnly Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the named synchronization object is limited in access to the current user.
public:
property bool CurrentUserOnly { bool get(); void set(bool value); };
public bool CurrentUserOnly { get; set; }
member this.CurrentUserOnly : bool with get, set
Public Property CurrentUserOnly As Boolean
Property Value
true if the named synchronization object is limited in access to the current user; otherwise, false. The default is true.
Remarks
If the option is true when creating a named synchronization object, the object is limited in access to the calling user. If the option is true when opening an existing named synchronization object, the object's access controls are verified for the calling user.
If the option is false when creating a named synchronization object, the object is not limited in access to a user.
On Unix-like operating systems, each user has namespaces for the object's name that are used when the option is true. These user-scoped namespaces are distinct from user-scoped namespaces for other users, and also distinct from namespaces used when the option is false.