ActionPreferenceStopException
Class
Definition
ActionPreferenceStopException indicates that the command stopped due to the ActionPreference.Stop or Inquire policy.
public class ActionPreferenceStopException : System.Management.Automation.RuntimeException
- Inheritance
Inherited Members
System.Management.Automation.RuntimeException
Remarks
For example, if $WarningPreference is "Stop", the command will fail with this error if a cmdlet calls WriteWarning.
Constructors
| ActionPreferenceStopException() |
Instantiates a new instance of the ActionPreferenceStopException class |
| ActionPreferenceStopException(String) |
Instantiates a new instance of the ActionPreferenceStopException class |
| ActionPreferenceStopException(SerializationInfo, StreamingContext) |
Initializes a new instance of the ActionPreferenceStopException class using data serialized via ISerializable |
| ActionPreferenceStopException(String, Exception) |
Instantiates a new instance of the ActionPreferenceStopException class |
Properties
| ErrorRecord |
Methods
| GetObjectData(SerializationInfo, StreamingContext) |
Serializer for ISerializable |