LdapException Constructor (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: