CallbackValidator Constructor (Type, ValidatorCallback)

 

Initializes a new instance of the CallbackValidator class.

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

new : 
        type:Type *
        callback:ValidatorCallback -> CallbackValidator

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: