public void SetAccessControl(EventWaitHandleSecurity eventSecurity) { if (null == eventSecurity) { throw new ArgumentNullException("eventSecurity"); } eventSecurity.PersistModifications(SafeWaitHandle); }