RedirectedException Class
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.RuntimeException
public class RedirectedException : System.Management.Automation.RuntimeException
[<System.Serializable>]
type RedirectedException = class
inherit RuntimeException
type RedirectedException = class
inherit RuntimeException
Public Class RedirectedException
Inherits RuntimeException
- Inheritance
- Attributes
The redirected object is available as TargetObject in the ErrorRecord which contains this exception.
Redirected |
Instantiates a new instance of the RedirectedException class. |
Redirected |
Obsolete.
Initializes a new instance of the RedirectedException class using data serialized via ISerializable |
Redirected |
Instantiates a new instance of the RedirectedException class. |
Redirected |
Instantiates a new instance of the RedirectedException class. |
Error |
Additional information about the error. (Inherited from RuntimeException) |
Was |
(Inherited from RuntimeException) |
Get |
Serializer for ISerializable (Inherited from RuntimeException) |
Product | Versions |
---|---|
PowerShell SDK | 7.2.0, 7.3.0, 7.4.0 |
Windows PowerShell | 5.1.0.0 |