ValidateNotNullOrAttributeBase.Validate(Object, EngineIntrinsics) 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.
Validates that the parameters's argument is not null, is not an empty string, and is not an empty collection. If argument is a collection, each argument is verified. It can also validate that the parameters's argument is not a string that consists only of white-space characters.
protected override void Validate (object arguments, System.Management.Automation.EngineIntrinsics engineIntrinsics);
override this.Validate : obj * System.Management.Automation.EngineIntrinsics -> unit
Protected Overrides Sub Validate (arguments As Object, engineIntrinsics As EngineIntrinsics)
Parameters
- arguments
- Object
The arguments to verify.
- engineIntrinsics
- EngineIntrinsics
The engine APIs for the context under which the validation is being evaluated.
Exceptions
if the arguments are not valid.