Partilhar via


Método VsValidationContext.ConstructValidationMessage

Método overrideable para permitir que a classe derivada criar mensagens.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Sintaxe

'Declaração
Protected Overrides Function ConstructValidationMessage ( _
    description As String, _
    code As String, _
    violationType As ViolationType, _
    ParamArray elements As ModelElement() _
) As ValidationMessage
protected override ValidationMessage ConstructValidationMessage(
    string description,
    string code,
    ViolationType violationType,
    params ModelElement[] elements
)

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.Modeling.Validation.ValidationMessage

Segurança do .NET Framework

Consulte também

Referência

VsValidationContext Classe

Namespace Microsoft.VisualStudio.Modeling.Shell