StaticCodeAnalysisTask.SuppressErrorCallback Method
Returns whether to suppress error callback using a specified element and rule.
Namespace: Microsoft.Data.Schema.Tasks
Assembly: Microsoft.Data.Schema.Tasks (in Microsoft.Data.Schema.Tasks.dll)
Syntax
'Declaration
Protected Overridable Function SuppressErrorCallback ( _
modelElement As IModelElement, _
rule As Rule _
) As Boolean
'Usage
Dim modelElement As IModelElement
Dim rule As Rule
Dim returnValue As Boolean
returnValue = Me.SuppressErrorCallback(modelElement, _
rule)
protected virtual bool SuppressErrorCallback(
IModelElement modelElement,
Rule rule
)
protected:
virtual bool SuppressErrorCallback(
IModelElement^ modelElement,
Rule^ rule
)
protected function SuppressErrorCallback(
modelElement : IModelElement,
rule : Rule
) : boolean
abstract SuppressErrorCallback :
modelElement:IModelElement *
rule:Rule -> bool
override SuppressErrorCallback :
modelElement:IModelElement *
rule:Rule -> bool
Parameters
- modelElement
Type: Microsoft.Data.Schema.SchemaModel.IModelElement
The model element
- rule
Type: Microsoft.Data.Schema.StaticCodeAnalysis.Rule
The analysis rule
Return Value
Type: System.Boolean
Returns True if the rule is suppressed for modelElement, False otherwise.
.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.