WriteOrThrowErrorCommand.ErrorRecord 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.
If Exception is specified, this is ErrorRecord.ErrorDetails.Message; otherwise, the Exception is System.Exception, and this is Exception.Message.
public:
property System::Management::Automation::ErrorRecord ^ ErrorRecord { System::Management::Automation::ErrorRecord ^ get(); void set(System::Management::Automation::ErrorRecord ^ value); };
public System.Management.Automation.ErrorRecord ErrorRecord { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ErrorRecord")]
public System.Management.Automation.ErrorRecord ErrorRecord { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ErrorRecord", Position=0)]
public System.Management.Automation.ErrorRecord ErrorRecord { get; set; }
member this.ErrorRecord : System.Management.Automation.ErrorRecord with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ErrorRecord")>]
member this.ErrorRecord : System.Management.Automation.ErrorRecord with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ErrorRecord", Position=0)>]
member this.ErrorRecord : System.Management.Automation.ErrorRecord with get, set
Public Property ErrorRecord As ErrorRecord
Property Value
- Attributes