LdapException Constructor (Int32, String, String)

LdapException Constructor (Int32, String, String)

.NET Framework (current version)
 

The LdapException(Int32, String, String) constructor creates an instance of the LdapException class using the specified error code, message, and LDAP server error message.

Namespace:   System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)

public LdapException(
	int errorCode,
	string message,
	string serverErrorMessage
)

Parameters

errorCode
Type: System.Int32

The error code returned by the LDAP implementation.

Message

The message displayed to the client when the exception occurs.

serverErrorMessage
Type: System.String

The LDAP server error message.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft