LdapException Constructor (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".

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

public LdapException(
	int errorCode
)

Parameters

errorCode
Type: System.Int32

The error code returned by the LDAP implementation.

.NET Framework
Available since 2.0
Return to top
Show: