Share via


ValidationMessageObserver.OnValidationMessagesChangedSummary Method

Indicates that the list of validation messages has changed.

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

Syntax

'Declaration
Protected Overridable Sub OnValidationMessagesChangedSummary ( _
    messagesBeforeUpdate As ReadOnlyCollection(Of ValidationMessage), _
    messagesAfterUpdate As ReadOnlyCollection(Of ValidationMessage) _
)
protected virtual void OnValidationMessagesChangedSummary(
    ReadOnlyCollection<ValidationMessage> messagesBeforeUpdate,
    ReadOnlyCollection<ValidationMessage> messagesAfterUpdate
)
protected:
virtual void OnValidationMessagesChangedSummary(
    ReadOnlyCollection<ValidationMessage^>^ messagesBeforeUpdate, 
    ReadOnlyCollection<ValidationMessage^>^ messagesAfterUpdate
)
abstract OnValidationMessagesChangedSummary : 
        messagesBeforeUpdate:ReadOnlyCollection<ValidationMessage> * 
        messagesAfterUpdate:ReadOnlyCollection<ValidationMessage> -> unit  
override OnValidationMessagesChangedSummary : 
        messagesBeforeUpdate:ReadOnlyCollection<ValidationMessage> * 
        messagesAfterUpdate:ReadOnlyCollection<ValidationMessage> -> unit
protected function OnValidationMessagesChangedSummary(
    messagesBeforeUpdate : ReadOnlyCollection<ValidationMessage>, 
    messagesAfterUpdate : ReadOnlyCollection<ValidationMessage>
)

Parameters

  • messagesBeforeUpdate
    Type: ReadOnlyCollection<ValidationMessage>

    The ValidationMessage objects before the update occurred.

  • messagesAfterUpdate
    Type: ReadOnlyCollection<ValidationMessage>

    The ValidationMessage objects after the update occurred.

Remarks

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

.NET Framework Security

See Also

Reference

ValidationMessageObserver Class

Microsoft.VisualStudio.Modeling.Validation Namespace