Open topic with navigation

# StartReportingContext Method (IReporter)

Starts a named section in the LeanFT report. This method has multiple overloads.

In this topic:

## StartReportingContext (String, String)

Starts a named section in the LeanFT report.

C# Syntax

    public static void StartReportingContext(
       string contextName,
       string contextDescription
    )

Parameters

contextName
  The section name.
contextDescription
  Optional. The section description. Blank by default.

Back to top

## StartReportingContext (String, ReportContextInfo)

Starts a named section in the LeanFT report.

C# Syntax

    public static void StartReportingContext(
       string contextName,
       ReportContextInfo reportContextInfo
    )

Parameters

contextName
  The section name.
reportContextInfo

The HP.LFT.Report.ReportContextInfo object which contains the information to describe the section.

Back to top