ValidationMessageObserver.OnValidationMessageAdded Method

Indicates that a validation message has been added.

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

Syntax

声明
Protected Overridable Sub OnValidationMessageAdded ( _
    addedMessage As ValidationMessage _
)
protected virtual void OnValidationMessageAdded(
    ValidationMessage addedMessage
)
protected:
virtual void OnValidationMessageAdded(
    ValidationMessage^ addedMessage
)
abstract OnValidationMessageAdded : 
        addedMessage:ValidationMessage -> unit 
override OnValidationMessageAdded : 
        addedMessage:ValidationMessage -> unit 
protected function OnValidationMessageAdded(
    addedMessage : ValidationMessage
)

Parameters

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