ErrorRecord.CategoryInfo Property

Definition

Information regarding the ErrorCategory associated with this error, and with the categorized error message for that ErrorCategory.

C++
public:
 property System::Management::Automation::ErrorCategoryInfo ^ CategoryInfo { System::Management::Automation::ErrorCategoryInfo ^ get(); };

Property Value

never null

Applies to

Product Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0