RedirectedException Class 
Definition
Important
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.
Indicates that a success object was written and success-to-error ("1>&2") has been specified.
public ref class RedirectedException : System::Management::Automation::RuntimeException[System.Serializable]
public class RedirectedException : System.Management.Automation.RuntimeExceptionpublic class RedirectedException : System.Management.Automation.RuntimeException[<System.Serializable>]
type RedirectedException = class
    inherit RuntimeExceptiontype RedirectedException = class
    inherit RuntimeExceptionPublic Class RedirectedException
Inherits RuntimeException- Inheritance
- Attributes
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(SerializationInfo, StreamingContext) | 
				Obsolete.
			 Initializes a new instance of the RedirectedException class using data serialized via ISerializable | 
| RedirectedException(String, Exception) | Instantiates a new instance of the RedirectedException class. | 
| RedirectedException(String) | Instantiates a new instance of the RedirectedException class. | 
Properties
| ErrorRecord | Additional information about the error.(Inherited from RuntimeException) | 
| WasThrownFromThrowStatement | (Inherited from RuntimeException) | 
Methods
| GetObjectData(SerializationInfo, StreamingContext) | Serializer for ISerializable(Inherited from RuntimeException) |