ActiveDirectoryObjectExistsException Constructors

Definition

Initializes a new instance of the ActiveDirectoryObjectExistsException class.

Overloads

ActiveDirectoryObjectExistsException()

Initializes a new instance of the ActiveDirectoryObjectExistsException class.

ActiveDirectoryObjectExistsException(String)

Initializes a new instance of the ActiveDirectoryObjectExistsException class, using a specified error message.

ActiveDirectoryObjectExistsException(SerializationInfo, StreamingContext)

Initializes a new instance of the ActiveDirectoryObjectExistsException class, using the specified serialization information and streaming context.

ActiveDirectoryObjectExistsException(String, Exception)

Initializes a new instance of the ActiveDirectoryObjectExistsException class, using a specified error message and an underlying exception object.

ActiveDirectoryObjectExistsException()

Initializes a new instance of the ActiveDirectoryObjectExistsException class.

public:
 ActiveDirectoryObjectExistsException();
public ActiveDirectoryObjectExistsException ();
Public Sub New ()

See also

ActiveDirectoryObjectExistsException(String)

Initializes a new instance of the ActiveDirectoryObjectExistsException class, using a specified error message.

public:
 ActiveDirectoryObjectExistsException(System::String ^ message);
public ActiveDirectoryObjectExistsException (string message);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException : string -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException
Public Sub New (message As String)

Parameters

message
String

A message that describes the error.

See also

ActiveDirectoryObjectExistsException(SerializationInfo, StreamingContext)

Initializes a new instance of the ActiveDirectoryObjectExistsException class, using the specified serialization information and streaming context.

protected:
 ActiveDirectoryObjectExistsException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ActiveDirectoryObjectExistsException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo object for the exception.

context
StreamingContext

The StreamingContext object for the exception.

See also

ActiveDirectoryObjectExistsException(String, Exception)

Initializes a new instance of the ActiveDirectoryObjectExistsException class, using a specified error message and an underlying exception object.

public:
 ActiveDirectoryObjectExistsException(System::String ^ message, Exception ^ inner);
public ActiveDirectoryObjectExistsException (string message, Exception inner);
new System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException : string * Exception -> System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectExistsException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

A message that describes the error.

inner
Exception

An Exception object that contains underlying exception information.

See also

Applies to