ValidateEnumeratedArgumentsAttribute.Validate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calls ValidateElement in each element in the enumeration argument value.
protected:
override void Validate(System::Object ^ arguments, System::Management::Automation::EngineIntrinsics ^ engineIntrinsics);
protected override sealed void Validate (object arguments, System.Management.Automation.EngineIntrinsics engineIntrinsics);
override this.Validate : obj * System.Management.Automation.EngineIntrinsics -> unit
Protected Overrides NotOverridable Sub Validate (arguments As Object, engineIntrinsics As EngineIntrinsics)
Parameters
- arguments
- Object
Object to validate.
- engineIntrinsics
- EngineIntrinsics
The engine APIs for the context under which the prerequisite is being evaluated.
Exceptions
Should be thrown for any validation failure.
Remarks
PSSnapins should override ValidateElement(Object) instead.