LdapException Constructor (Int32, String, Exception)

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
Available since 2.0
Return to top
Show:
© 2016 Microsoft