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 | |
---|---|---|
![]() |
DataSchemaErrorTaskService | Initializes a new instance of the DataSchemaErrorTaskService class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
ErrorLimit | The maximum number of errors that can be displayed, as specified by the user. |
![]() |
PackageErrorManager | Gets the package-level error manager.. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Dispose | Releases associated resources. |
![]() |
DoWork | Tells this idle processor to perform some work. |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
FlushOnIdleQueue | Flushes any errors that have not yet been put into the error list. |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() |
GetSelectedErrors | Returns the selected errors on the error list that are DataSchemaErrors. |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
GetWorkload | Returns the workload that remains for this idle processor. |
![]() |
IsSuppressed | Returns a value that indicates whether this error was suppressed. |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnIdle | This method will be called repeatedly by a user interface thread when the thread is idle. |
![]() |
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. |
![]() |
RemoveAllTaskNavigators | Removes all registered task navigators from the specified error manager. |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() |
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.