ModelingErrorListProvider Class
ModelingErrorListProvider provides a way for ModelingdocData to report error/warning messages to VS Error List window.
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Shell.ModelingErrorListProvider
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
<CLSCompliantAttribute(False)> _
Public NotInheritable Class ModelingErrorListProvider _
Implements IDisposable, IVsRunningDocTableEvents
[CLSCompliantAttribute(false)]
public sealed class ModelingErrorListProvider : IDisposable,
IVsRunningDocTableEvents
[CLSCompliantAttribute(false)]
public ref class ModelingErrorListProvider sealed : IDisposable,
IVsRunningDocTableEvents
[<Sealed>]
[<CLSCompliantAttribute(false)>]
type ModelingErrorListProvider =
class
interface IDisposable
interface IVsRunningDocTableEvents
end
public final class ModelingErrorListProvider implements IDisposable, IVsRunningDocTableEvents
The ModelingErrorListProvider type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Number of items current in the list. |
Top
Methods
Name | Description | |
---|---|---|
AddItem | Add a new item to the list. | |
Clear | Clear the items. | |
Dispose | Releases all resources used by the current instance of the ModelingErrorListProvider class. | |
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.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HideItems | Removes the items from Error List window. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ResumeRefresh | Resumes error list refresh each time an item is added. Should be called after SuspendRefresh, usually right after the last item of a batch has been added. | |
ShowItems | Show items in Error List window. | |
SuspendRefresh | Prevents the error list from updating synchronously each time an item is added. Calling SuspendRefresh before adding a large number of items to the error list results in better performance. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IVsRunningDocTableEvents.OnAfterAttributeChange | IVsRunningDocTableEvents.OnAfterAttributeChange | |
IVsRunningDocTableEvents.OnAfterDocumentWindowHide | IVsRunningDocTableEvents.OnAfterDocumentWindowHide | |
IVsRunningDocTableEvents.OnAfterFirstDocumentLock | IVsRunningDocTableEvents.OnAfterFirstDocumentLock | |
IVsRunningDocTableEvents.OnAfterSave | IVsRunningDocTableEvents.OnAfterSave | |
IVsRunningDocTableEvents.OnBeforeDocumentWindowShow | IVsRunningDocTableEvents.OnBeforeDocumentWindowShow | |
IVsRunningDocTableEvents.OnBeforeLastDocumentUnlock | IVsRunningDocTableEvents.OnBeforeLastDocumentUnlock |
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.