Share via


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
<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
Public property Count Number of items current in the list.

Top

Methods

  Name Description
Public method AddItem Add a new item to the list.
Public method Clear Clear the items.
Public method Dispose Releases all resources used by the current instance of the ModelingErrorListProvider class.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Destructor (Overrides Object.Finalize().)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method HideItems Removes the items from Error List window.
Public method 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.
Public method ShowItems Show items in Error List window.
Public method 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.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IVsRunningDocTableEvents.OnAfterAttributeChange IVsRunningDocTableEvents.OnAfterAttributeChange
Explicit interface implemetationPrivate method IVsRunningDocTableEvents.OnAfterDocumentWindowHide IVsRunningDocTableEvents.OnAfterDocumentWindowHide
Explicit interface implemetationPrivate method IVsRunningDocTableEvents.OnAfterFirstDocumentLock IVsRunningDocTableEvents.OnAfterFirstDocumentLock
Explicit interface implemetationPrivate method IVsRunningDocTableEvents.OnAfterSave IVsRunningDocTableEvents.OnAfterSave
Explicit interface implemetationPrivate method IVsRunningDocTableEvents.OnBeforeDocumentWindowShow IVsRunningDocTableEvents.OnBeforeDocumentWindowShow
Explicit interface implemetationPrivate method 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.

See Also

Reference

Microsoft.VisualStudio.Modeling.Shell Namespace