DirectoryAttribute::OnValidate Method (Object^)

 

The OnValidate method verifies that value is a DirectoryAttribute object.

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

protected:
virtual void OnValidate(
	Object^ value
) override

Parameters

value
Type: System::Object^

The Object to evaluate.

Exception Condition
ArgumentNullException

value contains a null reference (Nothing in Visual Basic).

ArgumentException

value must be either a string, byte[], or URI.

This method does not return a value. Instead, an exception is thrown if the specified object is null or is an invalid DirectoryAttribute object.

.NET Framework
Available since 2.0
Return to top
Show: