System.Threading.EventWaitHandle.SetAccessControl Method

Sets the access control security for a named system event.

Syntax

public void SetAccessControl (System.Security.AccessControl.EventWaitHandleSecurity eventSecurity)

Parameters

eventSecurity
An System.Security.AccessControl.EventWaitHandleSecurity object that represents the access control security to be applied to the named system event.

Remarks

The user must have System.Security.AccessControl.EventWaitHandleRights.ChangePermissions rights to call this method, and the event must have been opened with the System.Security.AccessControl.EventWaitHandleRights.ChangePermissions flag.

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0