ResultCode Enum

Definition

The ResultCode enumeration specifies the operation result codes.

public enum ResultCode
Inheritance
ResultCode

Fields

Name Value Description
Success 0

The call completed successfully. The value is equal to 0.

OperationsError 1

An operation error occurred. The value is equal to 1.

ProtocolError 2

A protocol error occurred. The value is equal to 2.

TimeLimitExceeded 3

The time limit set by the server-side time limit parameter was exceeded. The value is equal to 3.

SizeLimitExceeded 4

The size limit was exceeded. The value is equal to 4.

CompareFalse 5

The attribute and known values do not match. The value is equal to 5.

CompareTrue 6

The attribute and known values match. The value is equal to 6.

AuthMethodNotSupported 7

The authentication method is not supported. The value is equal to 7.

StrongAuthRequired 8

Strong authentication is required for this operation. The value is equal to 8.

ReferralV2 9

Only partial results and referrals were received. The value is equal to 9.

Referral 10

A referral was returned from the server. The value is equal to 10.

AdminLimitExceeded 11

The administration limit on the server was exceeded. The value is equal to 11.

UnavailableCriticalExtension 12

The server does not support the control. The control is critical. The value is equal to 12.

ConfidentialityRequired 13

Confidentiality is required for this operation. The value is equal to 13.

SaslBindInProgress 14

Simple Authentication and Security Layer (SASL) bind is in progress. The value is equal to 14.

NoSuchAttribute 16

The requested attribute does not exist. The value is equal to 16.

UndefinedAttributeType 17

The type is not defined. The value is equal to 17.

InappropriateMatching 18

The matching rule does not apply to the specified attribute type. The value is equal to 18.

ConstraintViolation 19

A value in the request does not comply with certain constraints. The value is equal to 19.

AttributeOrValueExists 20

The attribute exists or the value has been assigned. The value is equal to 20.

InvalidAttributeSyntax 21

The syntax is invalid. The value is equal to 21.

NoSuchObject 32

The object does not exist. The value is equal to 32.

AliasProblem 33

The alias is invalid. The value is equal to 33.

InvalidDNSyntax 34

The distinguished name contains invalid syntax. The value is equal to 34.

AliasDereferencingProblem 36

A problem occurred when dereferencing the alias. The value is equal to 36.

InappropriateAuthentication 48

The authentication that was provided was not appropriate. The value is equal to 48.

InsufficientAccessRights 50

The user has insufficient access rights. The value is equal to 50.

Busy 51

The server is busy. The value is equal to 51.

Unavailable 52

The server is unavailable. The value is equal to 52.

UnwillingToPerform 53

The server cannot handle directory requests. The value is equal to 53.

LoopDetect 54

The chain of referrals has looped back to a referring server. The value is equal to 54.

SortControlMissing 60

The search requires a SORT control. The value is equal to 60.

OffsetRangeError 61

The search results exceed the specified offset range. The value is equal to 61.

NamingViolation 64

A naming violation occurred. The value is equal to 64.

ObjectClassViolation 65

An object class violation occurred. The value is equal to 65.

NotAllowedOnNonLeaf 66

This operation is not allowed on a non-leaf object. The value is equal to 66.

NotAllowedOnRdn 67

This operation is not allowed on a relative distinguished name (RDN). The value is equal to 67.

EntryAlreadyExists 68

The object already exists. The value is equal to 68.

ObjectClassModificationsProhibited 69

The request is attempting to modify an object class that cannot be modified. The value is equal to 69.

ResultsTooLarge 70

The returned results are too large. The value is equal to 70.

AffectsMultipleDsas 71

Multiple directory service agents are affected. The value is equal to 71.

VirtualListViewError 76

An error occurred when attempting to perform a requested Virtual List View operation. The value is equal to 76.

Other 80

An unknown error occurred. The value is equal to 80.

Applies to

Prodotto Versioni
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)