private Persist ( |
||
handle | ||
return | void |
public static void SetAccessControl(this Semaphore semaphore, SemaphoreSecurity semaphoreSecurity) { if (semaphoreSecurity == null) throw new ArgumentNullException("semaphoreSecurity"); semaphoreSecurity.Persist(semaphore.GetSafeWaitHandle()); }
public void SetAccessControl(SemaphoreSecurity semaphoreSecurity) { if (semaphoreSecurity == null) { throw new ArgumentNullException("semaphoreSecurity"); } semaphoreSecurity.Persist(base.SafeWaitHandle); }