Editar

DirectoryOperationException Class

Definition

The DirectoryOperationException class is an exception thrown by the SendRequest(DirectoryRequest) method to indicate that the server returned a DirectoryResponse object with an error.

public ref class DirectoryOperationException : System::DirectoryServices::Protocols::DirectoryException
public class DirectoryOperationException : System.DirectoryServices.Protocols.DirectoryException
type DirectoryOperationException = class
    inherit DirectoryException
    interface ISerializable
Public Class DirectoryOperationException
Inherits DirectoryException
Inheritance
DirectoryOperationException
Derived
Implements

Constructors

Name Description
DirectoryOperationException()

The DirectoryOperationException() constructor creates an instance of the DirectoryOperationException class.

DirectoryOperationException(DirectoryResponse, String, Exception)

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

DirectoryOperationException(DirectoryResponse, String)

The DirectoryOperationException(DirectoryResponse, String) constructor creates an instance of the DirectoryOperationException object using the specified response object and message.

DirectoryOperationException(DirectoryResponse)

The DirectoryOperationException(DirectoryResponse) constructor creates an instance of the DirectoryOperationException class using the specified response object.

DirectoryOperationException(SerializationInfo, StreamingContext)
Obsolete.

The DirectoryOperationException(SerializationInfo, StreamingContext) constructor creates an instance of the DirectoryOperationException class using the specified serialization information and streaming context.

DirectoryOperationException(String, Exception)

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

DirectoryOperationException(String)

The DirectoryOperationException(String) constructor creates an instance of the DirectoryOperationException class using the specified message.

Properties

Name Description
Response

The Response property specifies the DirectoryResponse object returned by the server that contains an error.

Methods

Name Description
GetObjectData(SerializationInfo, StreamingContext)
Obsolete.

The GetObjectData(SerializationInfo, StreamingContext) method populates the SerializationInfo object with the data required to serialize the parameter.

Applies to