ValidationMessageObserver.OnValidationMessageAdded(ValidationMessage) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Override to process each message added after the controller finishes the constraint validation.
protected:
virtual void OnValidationMessageAdded(Microsoft::VisualStudio::Modeling::Validation::ValidationMessage ^ addedMessage);
protected virtual void OnValidationMessageAdded (Microsoft.VisualStudio.Modeling.Validation.ValidationMessage addedMessage);
abstract member OnValidationMessageAdded : Microsoft.VisualStudio.Modeling.Validation.ValidationMessage -> unit
override this.OnValidationMessageAdded : Microsoft.VisualStudio.Modeling.Validation.ValidationMessage -> unit
Protected Overridable 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