次の方法で共有


WriteOrThrowErrorCommand.CategoryReason Property

Definition

ErrorRecord.CategoryInfo.Reason.

public:
 property System::String ^ CategoryReason { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ CategoryReason { Platform::String ^ get(); void set(Platform::String ^ value); };
public string CategoryReason { get; set; }
[System.Management.Automation.Alias(new System.String[] { "Reason" })]
[System.Management.Automation.Parameter]
public string CategoryReason { get; set; }
member this.CategoryReason : string with get, set
[<System.Management.Automation.Alias(new System.String[] { "Reason" })>]
[<System.Management.Automation.Parameter>]
member this.CategoryReason : string with get, set
Public Property CategoryReason As String

Property Value

Attributes

Applies to