Megosztás a következőn keresztül:


RecoveryServicesBackupCmdletBase.ExecutionBlock(Action, Boolean) Method

Definition

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

Applies to