AnalysisContext.ReportMessage

Syntax

AnalysisContext.ReportMessage( message)

Purpose

Use this method in an analysis module to report and add an analysis message to the list of messages in the project.

Remarks

Use the AnalysisContext.NewMessage method to create a message. Do not call this method more than once for a message. Do not change message properties after calling this method. Because this method makes a copy of the message you pass to the method, all changes to the message after calling this method do not affect the reported message.

The TestStand Sequence Analyzer discards the message if you disable the rule that corresponds to the message.

Parameters

message As AnalysisMessage

[In] Pass the message to report.

See Also

AnalysisContext.NewMessage