ValidateScriptAttribute(ScriptBlock) ValidateScriptAttribute(ScriptBlock) Constructor

Definition

Initializes a new instance of the ValidateScriptBlockAttribute class

public ValidateScriptAttribute (System.Management.Automation.ScriptBlock scriptBlock);
new System.Management.Automation.ValidateScriptAttribute : System.Management.Automation.ScriptBlock -> System.Management.Automation.ValidateScriptAttribute
Parameters
scriptBlock
ScriptBlock ScriptBlock

Scriptblock to match

Exceptions

Applies to