Partager via


ObjectAlreadyExistsException Constructor (String, String)

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

'Usage
Dim MAName As String
Dim DN As String

Dim instance As New ObjectAlreadyExistsException(MAName, DN)

Syntax

'Declaration
Public Sub New ( _
    MAName As String, _
    DN As String _
)
public ObjectAlreadyExistsException (
    string MAName,
    string DN
)
public:
ObjectAlreadyExistsException (
    String^ MAName, 
    String^ DN
)
public ObjectAlreadyExistsException (
    String MAName, 
    String DN
)
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

Reference

ObjectAlreadyExistsException Class
ObjectAlreadyExistsException Members
Microsoft.MetadirectoryServices Namespace
ObjectAlreadyExistsException Class