CallbackValidator Constructor (Type, ValidatorCallback)

 

Initializes a new instance of the CallbackValidator class.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public CallbackValidator(
	Type type,
	ValidatorCallback callback
)

Parameters

type
Type: System.Type

The type of object that will be validated.

callback
Type: System.Configuration.ValidatorCallback

The ValidatorCallback used as the delegate.

Exception Condition
ArgumentNullException

type is null.

.NET Framework
Available since 2.0
Return to top
Show: