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.
Defines the Action Preference options. These options determine what will happen when a particular type of event occurs. For example, setting shell variable ErrorActionPreference to "Stop" will cause the command to stop when an otherwise non-terminating error occurs.
public enum class ActionPreference
public enum ActionPreference
type ActionPreference =
Public Enum ActionPreference
Handle this event as normal and continue
Ignore the event completely (not even logging it to the target stream)
Ask whether to stop or continue
Ignore this event and continue
Stop the command
Suspend the command for further diagnosis. Supported only for workflows.