ErrorListObserver Class

 

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

Namespace:   Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)


[CLSCompliantAttribute(false)]
public ref class ErrorListObserver : ValidationMessageObserver, 
	IDisposable

NameDescription
System_CAPS_pubpropertyTaskProvider

provides access to the Task List.

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the ErrorListObserver class.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

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.(Overrides Object::Finalize().)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnValidationBeginning(ValidationContext^)
System_CAPS_protmethodOnValidationEnded(ValidationContext^)
System_CAPS_protmethodOnValidationMessageAdded(ValidationMessage^)

Called when validation messages are added.(Overrides ValidationMessageObserver::OnValidationMessageAdded(ValidationMessage^).)

System_CAPS_protmethodOnValidationMessageRemoved(ValidationMessage^)

Report removed messages to the task list.(Overrides ValidationMessageObserver::OnValidationMessageRemoved(ValidationMessage^).)

System_CAPS_protmethodOnValidationMessagesChangedSummary(ReadOnlyCollection<ValidationMessage^>^, ReadOnlyCollection<ValidationMessage^>^)

Indicates that the list of validation messages has changed.(Inherited from ValidationMessageObserver.)

System_CAPS_protmethodOnValidationMessagesChanging(ReadOnlyCollection<ValidationMessage^>^, ReadOnlyCollection<ValidationMessage^>^, ReadOnlyCollection<ValidationMessage^>^, ReadOnlyCollection<ValidationMessage^>^)
System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: