Partager via


NoSuchObjectTypeException Constructor (String, Exception)

Creates an instance of the NoSuchObjectTypeException class with the specified error message and an inner exception.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim description As String
Dim innerException As Exception

Dim instance As New NoSuchObjectTypeException(description, innerException)

Syntax

'Declaration
Public Sub New ( _
    description As String, _
    innerException As Exception _
)
public NoSuchObjectTypeException (
    string description,
    Exception innerException
)
public:
NoSuchObjectTypeException (
    String^ description, 
    Exception^ innerException
)
public NoSuchObjectTypeException (
    String description, 
    Exception innerException
)
public function NoSuchObjectTypeException (
    description : String, 
    innerException : Exception
)

Parameters

  • description
    The error message.
  • innerException
    The inner exception.

Platforms

Target Platforms

See Also

Reference

NoSuchObjectTypeException Class
NoSuchObjectTypeException Members
Microsoft.MetadirectoryServices Namespace
NoSuchObjectTypeException Class