LdapException Constructor (Int32, String, Exception)

 
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, 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: