RedirectedException Class

Definition

Indicates that a success object was written and success-to-error ("1>&2") has been specified.

public class RedirectedException : System.Management.Automation.RuntimeException
Inheritance
RedirectedException

Inherited Members

System.Management.Automation.RuntimeException

Remarks

The redirected object is available as TargetObject in the ErrorRecord which contains this exception.

Constructors

RedirectedException()

Instantiates a new instance of the RedirectedException class

RedirectedException(String)

Instantiates a new instance of the RedirectedException class

RedirectedException(SerializationInfo, StreamingContext)

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

RedirectedException(String, Exception)

Instantiates a new instance of the RedirectedException class