共用方式為


DataRuleProblemSuppressionContext 建構函式

初始化 DataRuleProblemSuppressionContext 類別的新執行個體。

命名空間:  Microsoft.Data.Schema.StaticCodeAnalysis
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
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
)

參數

.NET Framework 安全性

請參閱

參考

DataRuleProblemSuppressionContext 類別

Microsoft.Data.Schema.StaticCodeAnalysis 命名空間