Επεξεργασία

Κοινή χρήση μέσω


ConfigurationErrorsException.Errors Property

Definition

Gets a collection of errors that detail the reasons this ConfigurationErrorsException exception was thrown.

public:
 property System::Collections::ICollection ^ Errors { System::Collections::ICollection ^ get(); };
public System.Collections.ICollection Errors { get; }
member this.Errors : System.Collections.ICollection
Public ReadOnly Property Errors As ICollection

Property Value

An ICollection object that contains errors that identify the reasons this ConfigurationErrorsException exception was thrown.

Remarks

The Errors property collects as many errors as possible that might occur during an operation, such as reading a configuration file. The exception thrown shows only the first error. You can access Errors to see all the errors issued.

Applies to