18 instantiations of LdapException
System.DirectoryServices.Protocols (18)
System\DirectoryServices\Protocols\Interop\SafeHandles.Linux.cs (1)
31throw new LdapException(SR.LDAP_CONNECT_ERROR);
System\DirectoryServices\Protocols\ldap\LdapConnection.cs (10)
952throw new LdapException(certError, certerrorMessage); 955throw new LdapException(certError); 977throw new LdapException(error, errorMessage); 980throw new LdapException(error); 1124throw new LdapException(error, errorMessage, serverErrorMessage); 1127throw new LdapException(error, errorMessage); 1130throw new LdapException(error); 1908throw new LdapException(error, errorMessage, serverErrorMessage); 1911return new LdapException(error, errorMessage); 1914return new LdapException(error);
System\DirectoryServices\Protocols\ldap\LdapException.cs (2)
187throw new LdapException(error, errorMessage); 191throw new LdapException(error);
System\DirectoryServices\Protocols\ldap\LdapPartialResultsProcessor.cs (1)
155throw new LdapException((int)LdapError.TimeOut, LdapErrorMappings.MapResultCode((int)LdapError.TimeOut));
System\DirectoryServices\Protocols\ldap\LdapSessionOptions.cs (4)
481throw new LdapException(certError, certerrorMessage); 485throw new LdapException(certError); 663throw new LdapException(error, errorMessage); 666throw new LdapException(error);
6 references to LdapException
System.DirectoryServices.AccountManagement (5)
System\DirectoryServices\AccountManagement\Context.cs (5)
258catch (LdapException) 280catch (LdapException) 291catch (LdapException ldapex) 325catch (LdapException ldapex) 1106catch (LdapException ex)
System.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\ldap\LdapPartialResultsProcessor.cs (1)
191else if (exception is LdapException ldapException)