Edit

Share via


EventWaitHandleAcl Class

Definition

Provides a Windows-specific extension method for creating EventWaitHandle objects with specific access control list (ACL) security.

C#
public static class EventWaitHandleAcl
Inheritance
EventWaitHandleAcl

Methods

Create(Boolean, EventResetMode, String, Boolean, EventWaitHandleSecurity)

Gets or creates an EventWaitHandle instance, allowing a EventWaitHandleSecurity instance to be optionally specified to set it during the event creation.

OpenExisting(String, EventWaitHandleRights)

Opens a specified named event wait handle, if it already exists, and applies the desired access rights.

TryOpenExisting(String, EventWaitHandleRights, EventWaitHandle)

Tries to open a specified named event wait handle, if it already exists, applies the desired access rights, and returns a value that indicates whether the operation succeeded.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)
Windows Desktop 5, 6, 7, 8, 9, 10