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; }
member this.Exception : Exception with get, set
Public Property Exception As Exception

Property Value

Exception
Attributes

Applies to