ErrorManager 클래스

Visual Studio의 오류 목록 창에 나열된 오류를 관리합니다.

상속 계층 구조

System.Object
  Microsoft.Data.Schema.ErrorManager

네임스페이스:  Microsoft.Data.Schema
어셈블리:  Microsoft.Data.Schema(Microsoft.Data.Schema.dll)

구문

‘선언
<SerializableAttribute> _
Public NotInheritable Class ErrorManager _
    Implements IDisposable, ISerializable
[SerializableAttribute]
public sealed class ErrorManager : IDisposable, 
    ISerializable
[SerializableAttribute]
public ref class ErrorManager sealed : IDisposable, 
    ISerializable
[<Sealed>]
[<SerializableAttribute>]
type ErrorManager =  
    class
        interface IDisposable
        interface ISerializable
    end
public final class ErrorManager implements IDisposable, ISerializable

ErrorManager 형식에서는 다음과 같은 멤버를 노출합니다.

생성자

  이름 설명
Public 메서드 ErrorManager ErrorManager 클래스의 새 인스턴스를 초기화합니다.

위쪽

속성

  이름 설명
Public 속성정적 멤버 BuildCategory 빌드 범주를 나타내는 개체를 가져옵니다.
Public 속성정적 멤버 DefaultCategory 기본 범주를 나타내는 개체를 가져옵니다.
Public 속성정적 멤버 DeployCategory 배포 범주를 나타내는 개체를 가져옵니다.
Public 속성정적 멤버 ExternalsResolutionCategory 해결 범주를 나타내는 개체를 가져옵니다.
Public 속성정적 멤버 ModelCategory 모델 범주를 나타내는 개체를 가져옵니다.
Public 속성정적 멤버 ProjectPropertiesCategory 프로젝트 속성 범주를 나타내는 개체를 가져옵니다.
Public 속성정적 멤버 ValidationAtBuildCategory 유효성 검사 범주를 나타내는 개체를 가져옵니다.
Public 속성정적 멤버 ValidationOnIdleCategory 유휴 시 유효성 검사 범주를 나타내는 개체를 가져옵니다.

위쪽

메서드

  이름 설명
Public 메서드 Add(DataSchemaError, Object) 제공된 DataSchemaError 개체를 지정된 범주로 Visual Studio의 오류 목록 창에 추가합니다.
Public 메서드 Add(IList<DataSchemaError>, Object) DataSchemaError 개체의 컬렉션을 지정된 범주로 Visual Studio의 오류 목록 창에 추가합니다.
Public 메서드 Add(DataSchemaError, Object, Boolean)
Public 메서드 Add(IList<DataSchemaError>, Object, Boolean)
Public 메서드정적 멤버 AddPersistedCategory Visual Studio의 오류 목록 창에 추가된 오류가 제공된 범주와 함께 지속되도록 지정합니다.
Public 메서드 ClearCategory 제공된 범주의 모든 오류를 Visual Studio의 오류 목록 창에서 제거합니다.
Public 메서드 Dispose ErrorManager 클래스의 현재 인스턴스에서 사용하는 모든 리소스를 해제합니다.
Public 메서드 Equals 지정한 Object가 현재 Object와 같은지 여부를 확인합니다. (Object에서 상속됨)
Protected 메서드 Finalize 가비지 수집에서 회수하기 전에 개체에서 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨)
Public 메서드 Find(String, Object) 지정된 범주 및 문서에 속하는 모든 DataSchemaError 개체의 목록을 검색합니다.
Public 메서드 Find(Predicate<DataSchemaError>, Object)
Public 메서드 GetAllCategories 존재하는 모든 범주의 목록을 검색합니다.
Public 메서드 GetAllErrors() ErrorManager 의 모든 오류 목록을 검색합니다.
Public 메서드 GetAllErrors(Object) ErrorManager 의 오류 중 지정된 범주에 속하는 모든 오류의 목록을 검색합니다.
Public 메서드 GetCategories
Public 메서드 GetErrorCounts 제공된 범주에 속하는 오류 수를 검색합니다.여러 심각도에 대한 개수가 반환됩니다.
Public 메서드 GetHashCode 특정 형식에 대한 해시 함수 역할을 합니다. (Object에서 상속됨)
Public 메서드 GetObjectData ErrorManager 클래스의 새 인스턴스를 초기화합니다.
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Protected 메서드 MemberwiseClone 현재 Object의 단순 복사본을 만듭니다. (Object에서 상속됨)
Public 메서드 MergeWith 다른 ErrorManager 개체에서 오류를 복사합니다.
Public 메서드 Remove(String, Object) 제공된 문서 파일 이름과 범주를 공유하는 모든 DataSchemaError 개체를 Visual Studio의 오류 목록 창에서 제거합니다.
Public 메서드 Remove(DataSchemaError, Object) 지정된 DataSchemaError 개체를 Visual Studio의 오류 목록 창에서 제거합니다.
Public 메서드 Remove(IList<DataSchemaError>, Object) 지정된 DataSchemaError 개체를 Visual Studio의 오류 목록 창에서 제거합니다.
Public 메서드 Remove(Predicate<DataSchemaError>, Object)
Public 메서드 ToString 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨)
Public 메서드 UpdateErrorsDocumentName Visual Studio 오류 목록 창의 DataSchemaError 개체 중 지정된 범주에 속하는 모든 개체의 Document 속성에서 문서 이름을 변경합니다.

위쪽

이벤트

  이름 설명
Public 이벤트 Disposed ErrorManager 가 삭제되었을 때 발생합니다.
Public 이벤트 ErrorManagerRefreshed ErrorManager 의 데이터가 새로 고쳐졌을 때 발생합니다.
Public 이벤트 ErrorsChanged Visual Studio의 오류 목록 창에서 하나 이상의 오류가 추가 또는 제거되었을 때 발생합니다.

위쪽

설명

모든 DataSchemaError 개체가 추가되고 이 클래스를 통해 오류 목록 창에서 제거됩니다.

스레드로부터의 안전성

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

참고 항목

참조

Microsoft.Data.Schema 네임스페이스

DataSchemaError

기타 리소스

오류 목록 창