AnalysisMessage.RuleId

Syntax

AnalysisMessage.RuleId

Data Type

String

Purpose

Use this property in an analysis module to obtain or specify the unique rule ID associated with the message.

Remarks

Do not set this property after calling the AnalysisContext.ReportMessage method because the AnalysisContext.ReportMessage method makes a copy of the message you pass to the method. Changes to this property after calling the AnalysisContext.ReportMessage method do not affect the reported message.

See Also

AnalysisContext.ReportMessage