ValidationMessageObserver::OnValidationMessagesChangedSummary Method (ReadOnlyCollection<ValidationMessage^>^, ReadOnlyCollection<ValidationMessage^>^)

 

Indicates that the list of validation messages has changed.

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

protected:
virtual void OnValidationMessagesChangedSummary(
	ReadOnlyCollection<ValidationMessage^>^ messagesBeforeUpdate,
	ReadOnlyCollection<ValidationMessage^>^ messagesAfterUpdate
)

Parameters

messagesBeforeUpdate
Type: System.Collections.ObjectModel::ReadOnlyCollection<ValidationMessage^>^

The ValidationMessage objects before the update occurred.

messagesAfterUpdate
Type: System.Collections.ObjectModel::ReadOnlyCollection<ValidationMessage^>^

The ValidationMessage objects after the update occurred.

methods are called in this order: 1. OnValidationMessagesChanging 2. OnValidationMessageRemoved - called once for each message removed. 3. OnValidationMessageAdded - called once for each message added. 4. OnValidationMessagesChangedSummary

Return to top
Show: