ValidateEnumeratedArgumentsAttribute.Validate(Object, EngineIntrinsics) ValidateEnumeratedArgumentsAttribute.Validate(Object, EngineIntrinsics) Method

Definition

Calls ValidateElement in each element in the enumeration argument value.

protected override sealed void Validate (object arguments, System.Management.Automation.EngineIntrinsics engineIntrinsics);
override this.Validate : obj * System.Management.Automation.EngineIntrinsics -> unit
Parameters
arguments
Object Object

object to validate

engineIntrinsics
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.

Applies to