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

Return Value

Type: System.Boolean
Returns True if the rule is suppressed for modelElement, False otherwise.

.NET Framework Security

See Also

Reference

StaticCodeAnalysisTask Class

StaticCodeAnalysisTask Members

Microsoft.Data.Schema.Tasks Namespace