共用方式為


ModelingErrorListProvider Class

Definition

Important

This API is not CLS-compliant.

ModelingErrorListProvider provides a way for ModelingdocData to report error/warning messages to VS Error List window.

public ref class ModelingErrorListProvider sealed : IDisposable, Microsoft::VisualStudio::Shell::Interop::IVsRunningDocTableEvents
[System.CLSCompliant(false)]
public sealed class ModelingErrorListProvider : IDisposable, Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents
public sealed class ModelingErrorListProvider : IDisposable, Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents
[<System.CLSCompliant(false)>]
type ModelingErrorListProvider = class
    interface IDisposable
    interface IVsRunningDocTableEvents
type ModelingErrorListProvider = class
    interface IDisposable
    interface IVsRunningDocTableEvents
Public NotInheritable Class ModelingErrorListProvider
Implements IDisposable, IVsRunningDocTableEvents
Inheritance
ModelingErrorListProvider
Attributes
Implements

Properties

Count

Number of items current in the list.

Methods

AddItem(ModelingErrorListItem)

Add a new item to the list.

Clear()

Clear the items.

Dispose()

Dispose

Finalize()

Destructor

HideItems()

Removes the items from Error List window.

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.

Explicit Interface Implementations

IVsRunningDocTableEvents.OnAfterAttributeChange(UInt32, UInt32)

IVsRunningDocTableEvents.OnAfterAttributeChange

IVsRunningDocTableEvents.OnAfterDocumentWindowHide(UInt32, IVsWindowFrame)

IVsRunningDocTableEvents.OnAfterDocumentWindowHide

IVsRunningDocTableEvents.OnAfterFirstDocumentLock(UInt32, UInt32, UInt32, UInt32)

IVsRunningDocTableEvents.OnAfterFirstDocumentLock

IVsRunningDocTableEvents.OnAfterSave(UInt32)

IVsRunningDocTableEvents.OnAfterSave

IVsRunningDocTableEvents.OnBeforeDocumentWindowShow(UInt32, Int32, IVsWindowFrame)

IVsRunningDocTableEvents.OnBeforeDocumentWindowShow

IVsRunningDocTableEvents.OnBeforeLastDocumentUnlock(UInt32, UInt32, UInt32, UInt32)

IVsRunningDocTableEvents.OnBeforeLastDocumentUnlock

Applies to