ConfigurationErrorsException.Errors 속성
정의
이 ConfigurationErrorsException 예외가 throw된 이유를 설명하는 오류 컬렉션을 가져옵니다.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
속성 값
이 ICollection 예외가 throw된 이유를 식별하는 오류가 포함된 ConfigurationErrorsException 개체입니다.An ICollection object that contains errors that identify the reasons this ConfigurationErrorsException exception was thrown.
설명
Errors속성은 구성 파일 읽기와 같이 작업 중 발생할 수 있는 오류를 최대한 많이 수집 합니다.The Errors property collects as many errors as possible that might occur during an operation, such as reading a configuration file. Throw 된 예외는 첫 번째 오류만 보여 줍니다.The exception thrown shows only the first error. 에 액세스 하 여 Errors 발급 된 모든 오류를 볼 수 있습니다.You can access Errors to see all the errors issued.