DataRuleProblem Constructor
Initializes a new instance of the DataRuleProblem class.
Namespace: Microsoft.Data.Schema.StaticCodeAnalysis
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub New ( _
rule As DataRule, _
description As String, _
modelElement As IModelElement _
)
public DataRuleProblem(
DataRule rule,
string description,
IModelElement modelElement
)
public:
DataRuleProblem(
DataRule^ rule,
String^ description,
IModelElement^ modelElement
)
new :
rule:DataRule *
description:string *
modelElement:IModelElement -> DataRuleProblem
public function DataRuleProblem(
rule : DataRule,
description : String,
modelElement : IModelElement
)
Parameters
- rule
Type: Microsoft.Data.Schema.StaticCodeAnalysis.DataRule
Rule.
- description
Type: System.String
Description of the problem.
- modelElement
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
.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.