Confirm an operation or grouping of operations with the user.
This differs from ShouldProcess in that it is not affected by
preference settings or command-line parameters,
it always does the query.
This variant only offers Yes/No, not YesToAll/NoToAll.

Confirm an operation or grouping of operations with the user.
This differs from ShouldProcess in that it is not affected by
preference settings or command-line parameters,
it always does the query.
This variant offers Yes, No, YesToAll and NoToAll.

Confirm an operation or grouping of operations with the user.
This differs from ShouldProcess in that it is not affected by
preference settings or command-line parameters,
it always does the query.
This variant offers Yes, No, YesToAll and NoToAll.

Confirm the operation with the user. Cmdlets which make changes
(e.g. delete files, stop services etc.) should call ShouldProcess
to give the user the opportunity to confirm that the operation
should actually be performed.

Confirm the operation with the user. Cmdlets which make changes
(e.g. delete files, stop services etc.) should call ShouldProcess
to give the user the opportunity to confirm that the operation
should actually be performed.

This variant allows the caller to specify text for both the
target resource and the action.

Confirm the operation with the user. Cmdlets which make changes
(e.g. delete files, stop services etc.) should call ShouldProcess
to give the user the opportunity to confirm that the operation
should actually be performed.

This variant allows the caller to specify the complete text
describing the operation, rather than just the name and action.

Confirm the operation with the user. Cmdlets which make changes
(e.g. delete files, stop services etc.) should call ShouldProcess
to give the user the opportunity to confirm that the operation
should actually be performed.

This variant allows the caller to specify the complete text
describing the operation, rather than just the name and action.

When overridden in the derived class, interrupts currently
running code within the command. It should interrupt BeginProcessing,
ProcessRecord, and EndProcessing.
Default implementation in the base class just returns.