Esempio n. 1
0
 protected override bool ReleaseHandle()
 {
     if (this.handle != (IntPtr)0)
     {
         Wldap32.ldap_unbind(this.handle);
         this.handle = (IntPtr)0;
     }
     return(true);
 }
Esempio n. 2
0
 override protected bool ReleaseHandle()
 {
     if (handle != (IntPtr)0)
     {
         if (needDispose)
         {
             Wldap32.ldap_unbind(handle);
         }
         handle = (IntPtr)0;
     }
     return(true);
 }
Esempio n. 3
0
        override protected bool ReleaseHandle()
        {
            if (handle != IntPtr.Zero)
            {
                if (_needDispose)
                {
                    Wldap32.ldap_unbind(handle);
                }

                handle = IntPtr.Zero;
            }
            return(true);
        }
 protected override bool ReleaseHandle()
 {
     Wldap32.ldap_unbind(base.handle);
     return(true);
 }