WriteOrThrowErrorCommand.Category Property

Definition

ErrorRecord.CategoryInfo.Category

public:
 property System::Management::Automation::ErrorCategory Category { System::Management::Automation::ErrorCategory get(); void set(System::Management::Automation::ErrorCategory value); };
public System.Management.Automation.ErrorCategory Category { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="NoException")]
[System.Management.Automation.Parameter(ParameterSetName="WithException")]
public System.Management.Automation.ErrorCategory Category { get; set; }
member this.Category : System.Management.Automation.ErrorCategory with get, set
Public Property Category As ErrorCategory

Property Value

ErrorCategory
Attributes

Applies to