ActiveDirectoryOperationException.ErrorCode Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the error code for the ActiveDirectoryOperationException object.

Namespace:   System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public int ErrorCode { get; }

Property Value

Type: System.Int32

An Int32 value that identifies the error.

.NET Framework
Available since 2.0
Return to top