Partager via


ErrorListObserver.OnValidationMessageAdded(ValidationMessage) Method

Definition

Report added messages to the task list.

protected:
 override void OnValidationMessageAdded(Microsoft::VisualStudio::Modeling::Validation::ValidationMessage ^ addedMessage);
protected override void OnValidationMessageAdded (Microsoft.VisualStudio.Modeling.Validation.ValidationMessage addedMessage);
override this.OnValidationMessageAdded : Microsoft.VisualStudio.Modeling.Validation.ValidationMessage -> unit
Protected Overrides Sub OnValidationMessageAdded (addedMessage As ValidationMessage)

Parameters

addedMessage
ValidationMessage

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

Applies to