ResultCode Enumeration
.NET Framework 4.5
The ResultCode enumeration specifies the operation result codes.
Namespace: System.DirectoryServices.Protocols
Assembly: System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)
| Member name | Description | |
|---|---|---|
| AdminLimitExceeded | The administration limit on the server was exceeded. The value is equal to 11. | |
| AffectsMultipleDsas | Multiple directory service agents are affected. The value is equal to 71. | |
| AliasDereferencingProblem | A problem occurred when dereferencing the alias. The value is equal to 36. | |
| AliasProblem | The alias is invalid. The value is equal to 33. | |
| AttributeOrValueExists | The attribute exists or the value has been assigned. The value is equal to 20. | |
| AuthMethodNotSupported | The authentication method is not supported. The value is equal to 7. | |
| Busy | The server is busy. The value is equal to 51. | |
| CompareFalse | The attribute and known values do not match. The value is equal to 5. | |
| CompareTrue | The attribute and known values match. The value is equal to 6. | |
| ConfidentialityRequired | Confidentiality is required for this operation. The value is equal to 13. | |
| ConstraintViolation | A value in the request does not comply with certain constraints. The value is equal to 19. | |
| EntryAlreadyExists | The object already exists. The value is equal to 68. | |
| InappropriateAuthentication | The authentication that was provided was not appropriate. The value is equal to 48. | |
| InappropriateMatching | The matching rule does not apply to the specified attribute type. The value is equal to 18. | |
| InsufficientAccessRights | The user has insufficient access rights. The value is equal to 50. | |
| InvalidAttributeSyntax | The syntax is invalid. The value is equal to 21. | |
| InvalidDNSyntax | The distinguished name contains invalid syntax. The value is equal to 34. | |
| LoopDetect | The chain of referrals has looped back to a referring server. The value is equal to 54. | |
| NamingViolation | A naming violation occurred. The value is equal to 64. | |
| NoSuchAttribute | The requested attribute does not exist. The value is equal to 16. | |
| NoSuchObject | The object does not exist. The value is equal to 32. | |
| NotAllowedOnNonLeaf | This operation is not allowed on a non-leaf object. The value is equal to 66. | |
| NotAllowedOnRdn | This operation is not allowed on a relative distinguished name (RDN). The value is equal to 67. | |
| ObjectClassModificationsProhibited | The request is attempting to modify an object class that cannot be modified. The value is equal to 69. | |
| ObjectClassViolation | An object class violation occurred. The value is equal to 65. | |
| OffsetRangeError | The search results exceed the specified offset range. The value is equal to 61. | |
| OperationsError | An operation error occurred. The value is equal to 1. | |
| Other | An unknown error occurred. The value is equal to 80. | |
| ProtocolError | A protocol error occurred. The value is equal to 2. | |
| Referral | A referral was returned from the server. The value is equal to 10. | |
| ReferralV2 | Only partial results and referrals were received. The value is equal to 9. | |
| ResultsTooLarge | The returned results are too large. The value is equal to 70. | |
| SaslBindInProgress | Simple Authentication and Security Layer (SASL) bind is in progress. The value is equal to 14. | |
| SizeLimitExceeded | The size limit was exceeded. The value is equal to 4. | |
| SortControlMissing | The search requires a SORT control. The value is equal to 60. | |
| StrongAuthRequired | Strong authentication is required for this operation. The value is equal to 8. | |
| Success | The call completed successfully. The value is equal to 0. | |
| TimeLimitExceeded | The time limit set by the server-side time limit parameter was exceeded. The value is equal to 3. | |
| Unavailable | The server is unavailable. The value is equal to 52. | |
| UnavailableCriticalExtension | The server does not support the control. The control is critical. The value is equal to 12. | |
| UndefinedAttributeType | The type is not defined. The value is equal to 17. | |
| UnwillingToPerform | The server cannot handle directory requests. The value is equal to 53. | |
| VirtualListViewError | An error occurred when attempting to perform a requested Virtual List View operation. The value is equal to 76. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.