Share via


NoSuchObjectException Constructor (String, String)

Creates an instance of the NoSuchObjectException 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 NoSuchObjectException(MAName, DN)

Syntax

'Declaration
Public Sub New ( _
    MAName As String, _
    DN As String _
)
public NoSuchObjectException (
    string MAName,
    string DN
)
public:
NoSuchObjectException (
    String^ MAName, 
    String^ DN
)
public NoSuchObjectException (
    String MAName, 
    String DN
)
public function NoSuchObjectException (
    MAName : String, 
    DN : String
)

Parameters

  • MAName
    The name of the management agent that does not contain the object.
  • DN
    The distinguished name of the nonexistent object.

Platforms

Target Platforms

See Also

Reference

NoSuchObjectException Class
NoSuchObjectException Members
Microsoft.MetadirectoryServices Namespace
NoSuchObjectException Class