WriteOrThrowErrorCommand.Exception Property

Definition

ErrorRecord.Exception -- if not specified, ErrorRecord.Exception is System.Exception.

public:
 property Exception ^ Exception { Exception ^ get(); void set(Exception ^ value); };
public Exception Exception { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="WithException")]
public Exception Exception { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="WithException", Position=0)]
public Exception Exception { get; set; }
member this.Exception : Exception with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="WithException")>]
member this.Exception : Exception with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="WithException", Position=0)>]
member this.Exception : Exception with get, set
Public Property Exception As Exception

Property Value

Attributes

Applies to