Condividi tramite


ValidationContext.LogWarning(String, String, ModelElement[]) Method

Definition

Create a new validation warning and log a message into the collection maintained by the validation context

public:
 Microsoft::VisualStudio::Modeling::Validation::ValidationMessage ^ LogWarning(System::String ^ description, System::String ^ code, ... cli::array <Microsoft::VisualStudio::Modeling::ModelElement ^> ^ elements);
public Microsoft.VisualStudio.Modeling.Validation.ValidationMessage LogWarning (string description, string code, params Microsoft.VisualStudio.Modeling.ModelElement[] elements);
member this.LogWarning : string * string * Microsoft.VisualStudio.Modeling.ModelElement[] -> Microsoft.VisualStudio.Modeling.Validation.ValidationMessage
Public Function LogWarning (description As String, code As String, ParamArray elements As ModelElement()) As ValidationMessage

Parameters

description
String
code
String
elements
ModelElement[]

Returns

Applies to