The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ErrorRecord.ErrorDetails Property


Updated: April 27, 2016

Applies To: Windows PowerShell

Gets and sets more detailed error information, such as a replacement error message.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public ErrorDetails ErrorDetails { get; set; }

Property Value

Type: System.Management.Automation.ErrorDetails

An ErrorDetails object that contains detailed error information.

For more information about error records, see Windows PowerShell Error Records.

Return to top

Community Additions