ValidationContext.LogMessage(String, String, ModelElement[]) 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.
Create a new validation information and log a message into the collection maintained by the validation context
public:
Microsoft::VisualStudio::Modeling::Validation::ValidationMessage ^ LogMessage(System::String ^ description, System::String ^ code, ... cli::array <Microsoft::VisualStudio::Modeling::ModelElement ^> ^ elements);
public Microsoft.VisualStudio.Modeling.Validation.ValidationMessage LogMessage (string description, string code, params Microsoft.VisualStudio.Modeling.ModelElement[] elements);
member this.LogMessage : string * string * Microsoft.VisualStudio.Modeling.ModelElement[] -> Microsoft.VisualStudio.Modeling.Validation.ValidationMessage
Public Function LogMessage (description As String, code As String, ParamArray elements As ModelElement()) As ValidationMessage
Parameters
- description
- String
- code
- String
- elements
- ModelElement[]