VsValidationContext.ConstructValidationMessage 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.
Overrideable method to allow the derived class to create messages.
protected:
override Microsoft::VisualStudio::Modeling::Validation::ValidationMessage ^ ConstructValidationMessage(System::String ^ description, System::String ^ code, Microsoft::VisualStudio::Modeling::Validation::ViolationType violationType, ... cli::array <Microsoft::VisualStudio::Modeling::ModelElement ^> ^ elements);
protected override Microsoft.VisualStudio.Modeling.Validation.ValidationMessage ConstructValidationMessage (string description, string code, Microsoft.VisualStudio.Modeling.Validation.ViolationType violationType, params Microsoft.VisualStudio.Modeling.ModelElement[] elements);
override this.ConstructValidationMessage : string * string * Microsoft.VisualStudio.Modeling.Validation.ViolationType * Microsoft.VisualStudio.Modeling.ModelElement[] -> Microsoft.VisualStudio.Modeling.Validation.ValidationMessage
Protected Overrides Function ConstructValidationMessage (description As String, code As String, violationType As ViolationType, ParamArray elements As ModelElement()) As ValidationMessage
Parameters
- description
- String
- code
- String
- violationType
- ViolationType
- elements
- ModelElement[]