Open topic with navigation

StartReportingContext Method (Reporter)

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

In this topic:

## StartReportingContext (String, String, IDictionary<String,Object>)

Starts a named section in the LeanFT report.

C# Syntax

    public static void StartReportingContext(
       string contextName,
       string contextDescription,
       IDictionary<string,object> additionalData
    )

Parameters

contextName
  The section name.
contextDescription
  Optional. The section description. Blank by default.
additionalData
  Optional. The dictionary containing additional custom information. Blank by default.

## 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.