Creates an instance of the ObjectAlreadyExistsException class with the specified management agent name and distinguished name.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)

Usage

Visual Basic
Dim MAName As String
Dim DN As String

Dim instance As New ObjectAlreadyExistsException(MAName, DN)

Syntax

Visual Basic
Public Sub New ( _
		MAName As String, _
		DN As String _
)
C#
public ObjectAlreadyExistsException (
		string MAName,
		string DN
)
C++
public:
ObjectAlreadyExistsException (
		String^ MAName, 
		String^ DN
)
J#
public ObjectAlreadyExistsException (
		String MAName, 
		String DN
)
JScript
public function ObjectAlreadyExistsException (
		MAName : String, 
		DN : String
)

Parameters

MAName

The name of the management agent that contains the object that already exists.

DN

The distinguished name of the object that already exists.

Platforms

Target Platforms

See Also