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

Syntax

'Déclaration
<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 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 GetHashCode Serves as a hash function for a particular type. (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.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
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