Export (0) Print
Expand All

CallbackValidator Constructor

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.

ExceptionCondition
ArgumentNullException

type is nullptr.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft