ParentContainsErrorRecordException 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.
ParentContainsErrorRecordException is the exception contained by the ErrorRecord which is associated with a PowerShell engine custom exception through the IContainsErrorRecord interface.
public ref class ParentContainsErrorRecordException : SystemException
[System.Serializable]
public class ParentContainsErrorRecordException : SystemException
public class ParentContainsErrorRecordException : SystemException
[<System.Serializable>]
type ParentContainsErrorRecordException = class
inherit SystemException
type ParentContainsErrorRecordException = class
inherit SystemException
Public Class ParentContainsErrorRecordException
Inherits SystemException
- Inheritance
-
ParentContainsErrorRecordException
- Attributes
We use this exception class so that there is not a recursive "containment" relationship between the PowerShell engine exception and its ErrorRecord.
Parent |
Instantiates a new instance of the ParentContainsErrorRecordException class. |
Parent |
Instantiates a new instance of the ParentContainsErrorRecordException class. Note that this sets the Message and not the InnerException. |
Parent |
Obsolete.
Initializes a new instance of the ParentContainsErrorRecordException class using data serialized via ISerializable |
Parent |
Instantiates a new instance of the ParentContainsErrorRecordException class. |
Parent |
Instantiates a new instance of the ParentContainsErrorRecordException class. |
Message |
Gets the message for the exception. |
Get |
Serializer for ISerializable |
Produit | Versions |
---|---|
PowerShell SDK | 7.2.0, 7.3.0, 7.4.0 |
Windows PowerShell | 5.1.0.0 |