LdapException Constructor

The LdapException() constructor creates an instance of the LdapException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method LdapException() The LdapException() constructor creates an instance of the LdapException class.
Public method LdapException(Int32) The LdapException(Int32) constructor creates an instance of the LdapException class using the specified error code. The default message displayed to the client is "Communications error with the LDAP server".
Public method LdapException(String) The LdapException(String) constructor creates an instance of the LdapException class using the specified message.
Public method LdapException(Int32, String) The LdapException(Int32, String) constructor creates an instance of the LdapException class using the specified error code and message.
Protected method LdapException(SerializationInfo, StreamingContext) The LdapException(SerializationInfo, StreamingContext) constructor creates an instance of the LdapException class using the specified serialization data and streaming context.
Public method LdapException(String, Exception) The LdapException(String, Exception) constructor creates an instance of the LdapException class using the specified message and inner exception.
Public method LdapException(Int32, String, Exception) The LdapException(Int32, String, Exception) constructor creates an instance of the LdapException class using the specified error code, message, and inner exception.
Public method LdapException(Int32, String, String) The LdapException(Int32, String, String) constructor creates an instance of the LdapException class using the specified error code, message, and LDAP server error message.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft