ActionPreferenceStopException ActionPreferenceStopException ActionPreferenceStopException Class

Definition

ActionPreferenceStopException indicates that the command stopped due to the ActionPreference.Stop or Inquire policy.

public class ActionPreferenceStopException : System.Management.Automation.RuntimeException
type ActionPreferenceStopException = class
    inherit RuntimeException
Public Class ActionPreferenceStopException
Inherits RuntimeException
Inheritance
ActionPreferenceStopExceptionActionPreferenceStopExceptionActionPreferenceStopException

Remarks

For example, if $WarningPreference is "Stop", the command will fail with
this error if a cmdlet calls WriteWarning.

Constructors

ActionPreferenceStopException() ActionPreferenceStopException() ActionPreferenceStopException()

Instantiates a new instance of the ActionPreferenceStopException class

ActionPreferenceStopException(SerializationInfo, StreamingContext) ActionPreferenceStopException(SerializationInfo, StreamingContext) ActionPreferenceStopException(SerializationInfo, StreamingContext)

Initializes a new instance of the ActionPreferenceStopException class using data serialized via ISerializable

ActionPreferenceStopException(String) ActionPreferenceStopException(String) ActionPreferenceStopException(String)

Instantiates a new instance of the ActionPreferenceStopException class

ActionPreferenceStopException(String, Exception) ActionPreferenceStopException(String, Exception) ActionPreferenceStopException(String, Exception)

Instantiates a new instance of the ActionPreferenceStopException class

Properties

ErrorRecord ErrorRecord ErrorRecord

see IContainsErrorRecord

StackTrace StackTrace StackTrace Inherited from RuntimeException
WasThrownFromThrowStatement WasThrownFromThrowStatement WasThrownFromThrowStatement Inherited from RuntimeException

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Serializer for ISerializable

Applies to