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

Visual Basic
Dim MAName As String
Dim DN As String

Dim instance As New NoSuchObjectException(MAName, DN)

Syntax

Visual Basic
Public Sub New ( _
		MAName As String, _
		DN As String _
)
C#
public NoSuchObjectException (
		string MAName,
		string DN
)
C++
public:
NoSuchObjectException (
		String^ MAName, 
		String^ DN
)
J#
public NoSuchObjectException (
		String MAName, 
		String DN
)
JScript
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