CallbackValidator(Type, ValidatorCallback) Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz der CallbackValidator-Klasse.
public:
CallbackValidator(Type ^ type, System::Configuration::ValidatorCallback ^ callback);
public CallbackValidator(Type type, System.Configuration.ValidatorCallback callback);
new System.Configuration.CallbackValidator : Type * System.Configuration.ValidatorCallback -> System.Configuration.CallbackValidator
Public Sub New (type As Type, callback As ValidatorCallback)
Parameter
- type
- Type
Der Typ des Objekts, das überprüft wird.
- callback
- ValidatorCallback
Die ValidatorCallback als Stellvertretung verwendete.
Ausnahmen
type ist null.