DataRuleProblemSuppressionContext Constructor
Initializes a new instance of the DataRuleProblemSuppressionContext class.
Namespace: Microsoft.Data.Schema.StaticCodeAnalysis
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub New ( _
element As IModelElement, _
schemaModel As DataSchemaModel, _
rule As DataRule _
)
public DataRuleProblemSuppressionContext(
IModelElement element,
DataSchemaModel schemaModel,
DataRule rule
)
public:
DataRuleProblemSuppressionContext(
IModelElement^ element,
DataSchemaModel^ schemaModel,
DataRule^ rule
)
new :
element:IModelElement *
schemaModel:DataSchemaModel *
rule:DataRule -> DataRuleProblemSuppressionContext
public function DataRuleProblemSuppressionContext(
element : IModelElement,
schemaModel : DataSchemaModel,
rule : DataRule
)
Parameters
- element
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The element being analyzed.
- schemaModel
Type: Microsoft.Data.Schema.SchemaModel.DataSchemaModel
The schema model against which the rule checks.
- rule
Type: Microsoft.Data.Schema.StaticCodeAnalysis.DataRule
The rule that detected the problem.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.