Condividi tramite


VsValidationContext.ConstructValidationMessage Method

Definition

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[]

Returns

Applies to