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

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

public LdapException(
	int errorCode,
	string message,
	Exception inner
)

Parameters

errorCode
Type: System.Int32

The error code returned by the LDAP implementation.

message
Type: System.String

The message displayed to the client when the exception occurs.

inner
Type: System.Exception

The inner exception, if any, that threw the exception.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft