Persist() private method

private Persist ( SafeWaitHandle handle ) : void
handle SafeWaitHandle
return void
Exemplo n.º 1
0
        [System.Security.SecuritySafeCritical]  // auto-generated
        public static void SetAccessControl(this Mutex mutex, MutexSecurity mutexSecurity)
        {
            if (mutexSecurity == null)
                throw new ArgumentNullException("mutexSecurity");
            Contract.EndContractBlock();

            mutexSecurity.Persist(mutex.GetSafeWaitHandle());
        }
Exemplo n.º 2
0
        [System.Security.SecuritySafeCritical]  // auto-generated
        public void SetAccessControl(MutexSecurity mutexSecurity)
        {
            if (mutexSecurity == null)
                throw new ArgumentNullException("mutexSecurity");
            Contract.EndContractBlock();

            mutexSecurity.Persist(safeWaitHandle);
        }
 public void SetAccessControl(MutexSecurity mutexSecurity)
 {
     if (mutexSecurity == null)
     {
         throw new ArgumentNullException("mutexSecurity");
     }
     mutexSecurity.Persist(base.safeWaitHandle);
 }