NoCompatiblePartitionFoundException
The NoCompatiblePartitionFoundException exception is thrown when a rules extension attempts to add a connector in which a distinguished name component is not compatible with the structure of any partitions of the management agent.
The NoCompatiblePartitionFoundException class is derived from the MetadirectoryServicesException class.
Public Constructors
The NoCompatiblePartitionFoundException class has the following public constructor.
Constructor | Description |
---|---|
NoCompatiblePartitionFoundException |
Creates an instance of the NoCompatiblePartitionFoundException class with the specified management agent name, distinguished name, object class list, and primary object type. |
Public Methods
The NoCompatiblePartitionFoundException class has the following public methods.
Method | Description |
---|---|
Equals |
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 |
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 NoCompatiblePartitionFoundException class defines the following public properties.
Property | Description |
---|---|
DN | Data type: ReferenceValue Access type: Read-only Contains a ReferenceValue object that contains the distinguished name of the new object that was rejected by the partition filter criteria. |
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. |
MAName | Data type: String Access type: Read-only A string that contains the name of the management agent that rejected the new object. |
Message | Data type: String Access type: Read-only Contains a message that describes the current exception. |
ObjectClasses | Data type: String[] Access type: Read-only A collection of strings that contains the list of object classes of the new object that was rejected by the partition filter criteria. |
ObjectType | Data type: String Access type: Read-only A string that contains the primary object type of the new object that was rejected by the partition filter criteria. |
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. |
Remarks
Given an Active Directory management agent with one partition (DC=mytest, DC=fabrikam, DC=com) and one OU=testorg, the following distinguished names would produce the indicated results.
DN | Result |
---|---|
CN=exampleCN1 | NoCompatiblePartitionFoundException |
CN=exampleCN1,DC=mytest,DC=fabrikam,DC=com | MissingParentObjectException |
CN=exampleCN1,DC=mytest | NoCompatiblePartitionFoundException |
CN=exampleCN1,DC=fabrikam,DC=com | NoCompatiblePartitionFoundException |
CN=exampleCN1,DC=exampleDC2 | NoCompatiblePartitionFoundException |
CN=exampleCN1,CN=exampleCN2 | NoCompatiblePartitionFoundException |
DC=exampleDC1 | NoCompatiblePartitionFoundException |
CN=exampleCN1,OU=testorg,DC=mytest,DC=fabrikam,DC=com | Success |
Requirements
Product | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
See Also
MetadirectoryServicesException
ReferenceValue
Send comments about this topic to Microsoft
Build date: 2/16/2009