ErrorCategoryInfo.Reason Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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".