Compartilhar via


ErrorCategoryInfo.Reason Property

Definition

Text description of the error.

public:
 property System::String ^ Reason { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ Reason { Platform::String ^ get(); void set(Platform::String ^ value); };
public string Reason { get; set; }
member this.Reason : string with get, set
Public Property Reason As String

Property Value

text description of the error

Remarks

By default, this is the exception type. The default can be overridden by calling Set with a non-empty value, for example "Permission Denied".

Applies to