ValidationMessageObserver.OnValidationMessagesChanging(ReadOnlyCollection<ValidationMessage>, ReadOnlyCollection<ValidationMessage>, ReadOnlyCollection<ValidationMessage>, ReadOnlyCollection<ValidationMessage>) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überschreiben, um eine Änderung an der Nachrichten Sammlung zu verarbeiten.
protected:
virtual void OnValidationMessagesChanging(System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::Validation::ValidationMessage ^> ^ messagesBeforeUpdate, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::Validation::ValidationMessage ^> ^ messagesRemoved, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::Validation::ValidationMessage ^> ^ messagesAdded, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::Validation::ValidationMessage ^> ^ messagesAfterUpdate);
protected virtual void OnValidationMessagesChanging (System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.Validation.ValidationMessage> messagesBeforeUpdate, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.Validation.ValidationMessage> messagesRemoved, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.Validation.ValidationMessage> messagesAdded, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.Validation.ValidationMessage> messagesAfterUpdate);
abstract member OnValidationMessagesChanging : System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.Validation.ValidationMessage> * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.Validation.ValidationMessage> * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.Validation.ValidationMessage> * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.Validation.ValidationMessage> -> unit
override this.OnValidationMessagesChanging : System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.Validation.ValidationMessage> * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.Validation.ValidationMessage> * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.Validation.ValidationMessage> * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.Validation.ValidationMessage> -> unit
Protected Overridable Sub OnValidationMessagesChanging (messagesBeforeUpdate As ReadOnlyCollection(Of ValidationMessage), messagesRemoved As ReadOnlyCollection(Of ValidationMessage), messagesAdded As ReadOnlyCollection(Of ValidationMessage), messagesAfterUpdate As ReadOnlyCollection(Of ValidationMessage))
Parameter
- messagesBeforeUpdate
- ReadOnlyCollection<ValidationMessage>
- messagesRemoved
- ReadOnlyCollection<ValidationMessage>
- messagesAdded
- ReadOnlyCollection<ValidationMessage>
- messagesAfterUpdate
- ReadOnlyCollection<ValidationMessage>
Hinweise
Methoden werden in dieser Reihenfolge aufgerufen: 1. Onvalidationmessageschanging 2. Onvalidationmessageremoved: einmal für jede entfernte Nachricht aufgerufen. 3. Onvalidationmessageadded: einmal für jede hinzugefügte Nachricht aufgerufen. 4. Onvalidationmessageschangedsummary