FeedbackContext.LastError Property
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.
Gets the last error record generated from executing the last command line.
[System.Runtime.CompilerServices.Nullable(2)]
public System.Management.Automation.ErrorRecord? LastError { [System.Runtime.CompilerServices.NullableContext(2)] get; }
[<System.Runtime.CompilerServices.Nullable(2)>]
[<get: System.Runtime.CompilerServices.NullableContext(2)>]
member this.LastError : System.Management.Automation.ErrorRecord
Public ReadOnly Property LastError As ErrorRecord
Property Value
- Attributes