ErrorManager Class

ErrorManager Class

Visual Studio 2010

Manages the errors that are listed in the Error List window of Visual Studio.

System.Object
  Microsoft.Data.Schema.ErrorManager

Namespace:  Microsoft.Data.Schema
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

[SerializableAttribute]
public sealed class ErrorManager : IDisposable, 
	ISerializable

The ErrorManager type exposes the following members.

  NameDescription
Public methodErrorManagerInitializes a new instance of the ErrorManager class.
Top

  NameDescription
Public propertyStatic memberBuildCategoryGets the object that represents the build category.
Public propertyStatic memberDefaultCategoryGets the object that represents the default category.
Public propertyStatic memberDeployCategoryGets the object that represents the deploy category.
Public propertyStatic memberExternalsResolutionCategoryGets the object that represents the resolution category.
Public propertyStatic memberModelCategoryGets the object that represents the model category.
Public propertyStatic memberProjectPropertiesCategoryGets the object that represents the project properties category.
Public propertyStatic memberValidationAtBuildCategoryGets the object that represents the validation category.
Public propertyStatic memberValidationOnIdleCategoryGets the object that represents the validation on idle category.
Top

  NameDescription
Public methodAdd(DataSchemaError, Object)Adds the provided DataSchemaError object to the Error List window of Visual Studio by using the specified category.
Public methodAdd(IList<DataSchemaError>, Object)Adds a collection of DataSchemaError objects to the Error List window of Visual Studio in the specified category.
Public methodAdd(DataSchemaError, Object, Boolean)
Public methodAdd(IList<DataSchemaError>, Object, Boolean)
Public methodStatic memberAddPersistedCategoryDesignates that errors added to the Errors List window of Visual Studio, together with the provided category, will be persisted.
Public methodClearCategoryRemoves all errors that have the provided category from the Error List window of Visual Studio.
Public methodDisposeReleases all resources that are used by the current instance of the ErrorManager class.
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodFind(String, Object)Retrieves a list of all DataSchemaError objects that belong to the specified category and document.
Public methodFind(Predicate<DataSchemaError>, Object)
Public methodGetAllCategoriesRetrieves a list of all categories that exist.
Public methodGetAllErrors()Retrieves a list of all errors in the ErrorManager.
Public methodGetAllErrors(Object)Retrieves a list of all errors in the ErrorManager that belong to the specified category.
Public methodGetCategories
Public methodGetErrorCountsRetrieves the counts of errors that belong to the provided category. Counts are returned for several levels of severity.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetObjectDataInitializes a new instance of the ErrorManager class.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodMergeWithCopies the errors from another ErrorManager object.
Public methodRemove(String, Object)Removes the Error List window of Visual Studio all DataSchemaError objects from that share the provided document file name and category.
Public methodRemove(DataSchemaError, Object)Removes the specified DataSchemaError object from the Error List window of Visual Studio.
Public methodRemove(IList<DataSchemaError>, Object)Removes the specified DataSchemaError objects from the Error List window of Visual Studio.
Public methodRemove(Predicate<DataSchemaError>, Object)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodUpdateErrorsDocumentNameChanges the name of the document in the Document property of all DataSchemaError objects in the Error List window of Visual Studio that belong to the specified category.
Top

  NameDescription
Public eventDisposedOccurs when the ErrorManager has been disposed.
Public eventErrorManagerRefreshedOccurs when the data in the ErrorManager has been refreshed.
Public eventErrorsChangedOccurs when one or more errors have been added or removed from the Error List window of Visual Studio.
Top

All DataSchemaError objects are added and removed from the Error List window through this class.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2016 Microsoft