API Reference
Class
DirectoryObjectWriteException
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
- Stable validation error code.
- message System.String
- Human-readable validation message.
- paramName System.String = null
- Optional parameter name associated with failure.
- attributeName System.String = null
- Optional LDAP attribute associated with failure.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
public override Void GetObjectData(SerializationInfo info, StreamingContext context) #Returns:
VoidInherited from ArgumentException
Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}") EditorBrowsable(1)Parameters
- info SerializationInfo
- context StreamingContext
Properties
Inherited Properties
public override String Message { get; } #Inherited from ArgumentException
public override String ParamName { get; } #Inherited from ArgumentException
public MethodBase TargetSite { get; } #Inherited from Exception
public override IDictionary Data { get; } #Inherited from Exception
public Exception InnerException { get; } #Inherited from Exception
public override String HelpLink { get; set; } #Inherited from Exception
public override String Source { get; set; } #Inherited from Exception
public Int32 HResult { get; set; } #Inherited from Exception
public override String StackTrace { get; } #Inherited from Exception