Delen via


DataSchemaErrorTaskService Class

This class represents a package-level database agnostic service to manage all errors that are displayed in the error list. Any other feature or component may instantiate its own objects to manage the errors to be displayed in the Visual Studio ErrorList window.

This API is not CLS-compliant. 

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.Schema.Package.UI.DataSchemaErrorTaskService

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public NotInheritable Class DataSchemaErrorTaskService _
    Implements IDisposable, IDatabaseProjectIdleProcessor, IDatabaseProjectWorkloadProvider, IErrorManagerLimiter
[CLSCompliantAttribute(false)]
public sealed class DataSchemaErrorTaskService : IDisposable, 
    IDatabaseProjectIdleProcessor, IDatabaseProjectWorkloadProvider, IErrorManagerLimiter
[CLSCompliantAttribute(false)]
public ref class DataSchemaErrorTaskService sealed : IDisposable, 
    IDatabaseProjectIdleProcessor, IDatabaseProjectWorkloadProvider, IErrorManagerLimiter
[<Sealed>]
[<CLSCompliantAttribute(false)>]
type DataSchemaErrorTaskService =  
    class
        interface IDisposable
        interface IDatabaseProjectIdleProcessor
        interface IDatabaseProjectWorkloadProvider
        interface IErrorManagerLimiter
    end
public final class DataSchemaErrorTaskService implements IDisposable, IDatabaseProjectIdleProcessor, IDatabaseProjectWorkloadProvider, IErrorManagerLimiter

The DataSchemaErrorTaskService type exposes the following members.

Constructors

  Name Description
Public method DataSchemaErrorTaskService Initializes a new instance of the DataSchemaErrorTaskService class.

Top

Properties

  Name Description
Public property ErrorLimit The maximum number of errors that can be displayed, as specified by the user.
Public property PackageErrorManager Gets the package-level error manager..

Top

Methods

  Name Description
Public method Dispose Releases associated resources.
Public method DoWork Tells this idle processor to perform some work.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FlushOnIdleQueue Flushes any errors that have not yet been put into the error list.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodStatic member GetSelectedErrors Returns the selected errors on the error list that are DataSchemaErrors.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetWorkload Returns the workload that remains for this idle processor.
Public method IsSuppressed Returns a value that indicates whether this error was suppressed.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method OnIdle This method will be called repeatedly by a user interface thread when the thread is idle.
Public method RegisterErrorManager Registers the specified ErrorManager instance with the task service so that errors from the error manager are added to and removed from the error list.
Public method RemoveAllTaskNavigators Removes all registered task navigators from the specified error manager.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TreatWarningsAsErrors Returns the current value of the TreatWarningsAsErrors project property.

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.Data.Schema.Package.UI Namespace