TestimoX

API Reference

Class

DirectoryObjectWriteException

Namespace ADPlayground
Assembly ADPlayground
Base ArgumentException
Implements
ISerializable
Modifiers sealed

Exception raised for directory object write validation failures with stable error codes.

Inheritance

  • ArgumentException
  • DirectoryObjectWriteException

Constructors

public DirectoryObjectWriteException(String errorCode, String message, String paramName = null, String attributeName = null) #

Initializes a new instance of the DirectoryObjectWriteException class.

Parameters

errorCode System.String requiredposition: 0
Stable validation error code.
message System.String requiredposition: 1
Human-readable validation message.
paramName System.String = null optionalposition: 2
Optional parameter name associated with failure.
attributeName System.String = null optionalposition: 3
Optional LDAP attribute associated with failure.

Properties

public String ErrorCode { get; } #

Gets stable validation error code.

public String AttributeName { get; } #

Gets LDAP attribute associated with failure when applicable.