Persist() private method

private Persist ( SafeWaitHandle handle ) : void
handle SafeWaitHandle
return void
コード例 #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());
        }
コード例 #2
0
        [System.Security.SecuritySafeCritical]  // auto-generated
        public void SetAccessControl(MutexSecurity mutexSecurity)
        {
            if (mutexSecurity == null)
                throw new ArgumentNullException("mutexSecurity");
            Contract.EndContractBlock();

            mutexSecurity.Persist(safeWaitHandle);
        }
コード例 #3
0
 public void SetAccessControl(MutexSecurity mutexSecurity)
 {
     if (mutexSecurity == null)
     {
         throw new ArgumentNullException("mutexSecurity");
     }
     mutexSecurity.Persist(base.safeWaitHandle);
 }