Método DataRuleEngine.ExecuteRules (IModelElement, IEnumerable<DataRuleSetting>, IEnumerable<DataSchemaError>%, Predicate<DataRuleProblemSuppressionContext>)
Namespace: Microsoft.Data.Schema.StaticCodeAnalysis
Assembly: Microsoft.Data.Schema (em Microsoft.Data.Schema.dll)
Sintaxe
'Declaração
Public Shared Function ExecuteRules ( _
modelElement As IModelElement, _
ruleSettings As IEnumerable(Of DataRuleSetting), _
<OutAttribute> ByRef errors As IEnumerable(Of DataSchemaError), _
suppressProblem As Predicate(Of DataRuleProblemSuppressionContext) _
) As IList(Of DataRuleProblem)
public static IList<DataRuleProblem> ExecuteRules(
IModelElement modelElement,
IEnumerable<DataRuleSetting> ruleSettings,
out IEnumerable<DataSchemaError> errors,
Predicate<DataRuleProblemSuppressionContext> suppressProblem
)
public:
static IList<DataRuleProblem^>^ ExecuteRules(
IModelElement^ modelElement,
IEnumerable<DataRuleSetting^>^ ruleSettings,
[OutAttribute] IEnumerable<DataSchemaError^>^% errors,
Predicate<DataRuleProblemSuppressionContext^>^ suppressProblem
)
static member ExecuteRules :
modelElement:IModelElement *
ruleSettings:IEnumerable<DataRuleSetting> *
errors:IEnumerable<DataSchemaError> byref *
suppressProblem:Predicate<DataRuleProblemSuppressionContext> -> IList<DataRuleProblem>
public static function ExecuteRules(
modelElement : IModelElement,
ruleSettings : IEnumerable<DataRuleSetting>,
errors : IEnumerable<DataSchemaError>,
suppressProblem : Predicate<DataRuleProblemSuppressionContext>
) : IList<DataRuleProblem>
Parâmetros
- modelElement
Tipo: Microsoft.Data.Schema.SchemaModel.IModelElement
- ruleSettings
Tipo: System.Collections.Generic.IEnumerable<DataRuleSetting>
- errors
Tipo: System.Collections.Generic.IEnumerable<DataSchemaError>%
- suppressProblem
Tipo: System.Predicate<DataRuleProblemSuppressionContext>
Valor de retorno
Tipo: System.Collections.Generic.IList<DataRuleProblem>
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiáveis.