Export (0) Print
Expand All

LdapException Constructor (String, Exception)

The LdapException(String, Exception) constructor creates an instance of the LdapException class using the specified message and inner exception.

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

public LdapException(
	string message,
	Exception inner
)

Parameters

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
Show:
© 2015 Microsoft