SerializationUtilities.AddValidationMessage 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.
Add a validation message as serialization message, which is used to report load-time validation failures.
public:
static void AddValidationMessage(Microsoft::VisualStudio::Modeling::SerializationResult ^ serializationResult, Microsoft::VisualStudio::Modeling::Validation::ValidationMessage ^ validationMessage);
public static void AddValidationMessage (Microsoft.VisualStudio.Modeling.SerializationResult serializationResult, Microsoft.VisualStudio.Modeling.Validation.ValidationMessage validationMessage);
static member AddValidationMessage : Microsoft.VisualStudio.Modeling.SerializationResult * Microsoft.VisualStudio.Modeling.Validation.ValidationMessage -> unit
Public Shared Sub AddValidationMessage (serializationResult As SerializationResult, validationMessage As ValidationMessage)
Parameters
- serializationResult
- SerializationResult
SerializationResult to store the message.
- validationMessage
- ValidationMessage
ValidationMessage to add.