Copyright Accelerated Ideas 2007 Legacy Blog Posts | Blog Home | .NET Components

AICodePerformance – Finalizing the report file


1/2/2007

Developers must remember to call the FinalizeReport method to create the properly formatted XML report file:

public void FinalizeReport()


The Finalize Report method adds the appropriate XML tags to the report file. This makes the file ready to import into Excel, SQL Server etc..

This method must be called only when you finished monitoring all performance data and it should only be called once.

e.g. A call to EncryptFile(\"C:\\TEMP\\CompanyReports.xls\", \"CompanyReports(Encrypted).xls\") creates a file named CompanyReports(Encrypted).xls in the same directory


< Blog Home