Freigeben über


RedirectedException Class

Definition

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
RedirectedException
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)

Applies to