Compartir a través de


DataRuleEngine.ExecuteRules (Método) (IModelElement, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>, Func<Boolean>)

Espacio de nombres:  Microsoft.Data.Schema.StaticCodeAnalysis
Ensamblado:  Microsoft.Data.Schema (en Microsoft.Data.Schema.dll)

Sintaxis

'Declaración
Public Shared Function ExecuteRules ( _
    modelElement As IModelElement, _
    ruleSettings As IEnumerable(Of DataRuleSetting), _
    <OutAttribute> ByRef errors As IEnumerable(Of DataSchemaError), _
    suppressProblem As Predicate(Of DataRuleProblemSuppressionContext), _
    executeCanceled As Func(Of Boolean) _
) As IList(Of DataRuleProblem)
public static IList<DataRuleProblem> ExecuteRules(
    IModelElement modelElement,
    IEnumerable<DataRuleSetting> ruleSettings,
    out IEnumerable<DataSchemaError> errors,
    Predicate<DataRuleProblemSuppressionContext> suppressProblem,
    Func<bool> executeCanceled
)
public:
static IList<DataRuleProblem^>^ ExecuteRules(
    IModelElement^ modelElement, 
    IEnumerable<DataRuleSetting^>^ ruleSettings, 
    [OutAttribute] IEnumerable<DataSchemaError^>^% errors, 
    Predicate<DataRuleProblemSuppressionContext^>^ suppressProblem, 
    Func<bool>^ executeCanceled
)
static member ExecuteRules : 
        modelElement:IModelElement * 
        ruleSettings:IEnumerable<DataRuleSetting> * 
        errors:IEnumerable<DataSchemaError> byref * 
        suppressProblem:Predicate<DataRuleProblemSuppressionContext> * 
        executeCanceled:Func<bool> -> IList<DataRuleProblem> 
public static function ExecuteRules(
    modelElement : IModelElement, 
    ruleSettings : IEnumerable<DataRuleSetting>, 
    errors : IEnumerable<DataSchemaError>, 
    suppressProblem : Predicate<DataRuleProblemSuppressionContext>, 
    executeCanceled : Func<boolean>
) : IList<DataRuleProblem>

Parámetros

Valor devuelto

Tipo: System.Collections.Generic.IList<DataRuleProblem>

Seguridad de .NET Framework

Vea también

Referencia

DataRuleEngine Clase

ExecuteRules (Sobrecarga)

Microsoft.Data.Schema.StaticCodeAnalysis (Espacio de nombres)