RecoveryServicesBackupCmdletBase.ExecutionBlock(Action, Boolean) 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.
Wrapper method which executes the cmdlet processing blocks. Catches and logs any exception occuring during the execution.
protected void ExecutionBlock (Action action, bool shouldProcess = true);
member this.ExecutionBlock : Action * bool -> unit
Protected Sub ExecutionBlock (action As Action, Optional shouldProcess As Boolean = true)
Parameters
- action
- Action
Delegate representing the cmdlet processing block
- shouldProcess
- Boolean