Export (0) Print
Expand All

ErrorResponseException Constructor (DsmlErrorResponse, String)

The ErrorResponseException(DsmlErrorResponse, String) constructor creates an instance of the ErrorResponseException class using the specified response object and message.

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

public ErrorResponseException(
	DsmlErrorResponse response,
	string message
)

Parameters

response
Type: System.DirectoryServices.Protocols.DsmlErrorResponse

The DsmlErrorResponse object returned by the server that corresponds to the <errorResponse>.

message
Type: System.String

The message displayed to the client when the exception occurs.

.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