The enumeration contains possible DSML error responses.
Assembly: System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)
|Authentication failed. The value is equal to 5.|
|The DSML provider connected to a server, but the server closed the connection without responding to the request. The value is equal to 2.|
|The DSML provider was unable to connect to a server. The value is equal to 1.|
|There is an internal gateway error. The value is equal to 4.|
|The client failed to specify a request ID for each request. The value is equal to 3.|
|The DSML provider did not attempt to execute a request element. The value is equal to 0.|
|An unknown error occurred. The value is equal to 7.|
|The client provider is unable to resolve the URI to a value that can transferred to the server. The value is equal to 6.|
Windows 8.1, Windows Server 2012 R2, 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.