Freigeben über


ErrorListObserver Class

Definition

Important

This API is not CLS-compliant.

ErrorListObserver monitors changes after VsValidationController finishes the validation. It reports the error/warning/message in the VS ErrorList and Output window.

public ref class ErrorListObserver : Microsoft::VisualStudio::Modeling::Validation::ValidationMessageObserver, IDisposable
[System.CLSCompliant(false)]
public class ErrorListObserver : Microsoft.VisualStudio.Modeling.Validation.ValidationMessageObserver, IDisposable
public class ErrorListObserver : Microsoft.VisualStudio.Modeling.Validation.ValidationMessageObserver, IDisposable
[<System.CLSCompliant(false)>]
type ErrorListObserver = class
    inherit ValidationMessageObserver
    interface IDisposable
type ErrorListObserver = class
    inherit ValidationMessageObserver
    interface IDisposable
Public Class ErrorListObserver
Inherits ValidationMessageObserver
Implements IDisposable
Inheritance
ErrorListObserver
Attributes
Implements

Constructors

ErrorListObserver(IServiceProvider)

constructor

Properties

TaskProvider

provides access to the Task List.

Methods

Dispose()

Do not make this method virtual. A derived class should not be able to override this method.

Finalize()

Use C# destructor syntax for finalization code. This destructor will run only if the Dispose method does not get called. It gives your base class the opportunity to finalize. Do not provide destructors in types derived from this class.

OnValidationBeginning(ValidationContext)

Overriddable method to capture the validation beginning stats

OnValidationEnded(ValidationContext)

Overriddable method to capture the validation ended notification.

OnValidationMessageAdded(ValidationMessage)

Report added messages to the task list.

OnValidationMessageRemoved(ValidationMessage)

Report removed messages to the task list.

OnValidationMessagesChangedSummary(ReadOnlyCollection<ValidationMessage>, ReadOnlyCollection<ValidationMessage>)

Override to process a summary of the the change to the message collection.

(Inherited from ValidationMessageObserver)
OnValidationMessagesChanging(ReadOnlyCollection<ValidationMessage>, ReadOnlyCollection<ValidationMessage>, ReadOnlyCollection<ValidationMessage>, ReadOnlyCollection<ValidationMessage>)

Override to process a change to the message collection.

Applies to