다음을 통해 공유


XmlSchemaSetBuilder.Errors 속성

Gets a list of Exception objects.

네임스페이스: Microsoft.VisualStudio.XmlEditor
어셈블리: microsoft.visualstudio.xmleditor.dll의 Microsoft.VisualStudio.XmlEditor

사용법

구문

‘선언
Public MustOverride ReadOnly Property Errors As IList(Of Exception)
public abstract IList<Exception> Errors { get; }
public:
virtual property IList<Exception^>^ Errors {
    IList<Exception^>^ get () abstract;
}
/** @property */
public abstract IList<Exception> get_Errors ()
public abstract function get Errors () : IList<Exception>

속성 값

A list of Exception objects.

설명

When Compile is called, this list is cleared. Then an Exception object is added to the list for each error and warning that occurs during resolution or compilation of the schemas.

Different kinds of exceptions can be reported, including XmlException, XmlSchemaException, FileNotFoundException, and so on. To identify warnings, a key value/pair will be added to the Data mapping, where the key is the string XmlSchemaService.IsWarning and the value is a boolean value set to true.

An XmlSchemaReferenceException is reported for each XmlSchemaReference in the Sources collection that directly or indirectly references a schema that resulted in resolution errors.

스레드 보안

이 형식의 모든 public static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 모든 인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.

플랫폼

개발 플랫폼

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008 및 Windows 2000

대상 플랫폼

참고 항목

참조

XmlSchemaSetBuilder 클래스
XmlSchemaSetBuilder 멤버
Microsoft.VisualStudio.XmlEditor 네임스페이스