NoSuchClassException
The NoSuchClassException exception is thrown when a class is referenced that is not in the schema.
The NoSuchClassException class is derived from the MetadirectoryServicesException class.
Public Constructors
The NoSuchClassException class has the following public constructor.
Constructor | Description |
---|---|
NoSuchClassException |
Creates an instance of the NoSuchClassException class with the specified class name. |
Public Methods
The NoSuchClassException class has the following public methods.
Method | Description |
---|---|
Equals(Object obj) |
Determines if two objects are equal. |
GetBaseException |
Retrieves the Exception that is the root cause of one or more subsequent exceptions. |
GetHashCode |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetObjectData(SerializationInfo, StreamingContext) |
Sets the SerializationInfo with information about the exception. |
GetType |
Retrieves the Type of the current object. |
ToString |
Retrieves a String that represents the current object. |
Public Properties
The NoSuchClassException class defines the following public properties.
Property | Description |
---|---|
ClassName | Data type: String Access type: Read-only Contains the name of the class that is not valid. |
HelpLink | Data type: String Access type: Read/write Contains a link to the Help file associated with this exception. |
InnerException | Data type: Exception Access type: Read-only Contains the Exception instance that caused the current exception. |
Message | Data type: String Access type: Read-only Contains a message that describes the current exception. |
Source | Data type: String Access type: Read/write Contains or sets the name of the application or object that caused the exception. |
StackTrace | Data type: String Access type: Read-only Contains a string representation of the frames on the call stack at the time the current exception was thrown. |
TargetSite | Data type: MethodBase Access type: Read-only Contains the method that throws the current exception. |
Requirements
Product | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
See Also
MetadirectoryServicesException
Send comments about this topic to Microsoft
Build date: 2/16/2009