PrepAway - Latest Free Exam Questions & Answers

What should you do?

You create a Windows application by using the .NET Framework 3.5. The application will be deployed
on Windows Vista client computers.
The application contains a function that uses the Microsoft Office Word 2007 automation library to
generate a report.
After you generate three test reports, you discover that there are three Winword.exe processes in the
Task Manager processes list.
You need to ensure that the Winword.exe processes end time-efficiently and consume minimum
resources.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Adjust the GC.Settings LatencyMode value.
Call the GC.Collect GCCollectionMode method overload after the Office Word 2007 report is generated.

B.
Adjust the GC.Settings LatencyMode value.
Call the GC.Collect GCCollectionMode method overload before the Office Word 2007 report is generated.

C.
Implement the IDisposable interface.
Call the Dispose method after the Office Word 2007 report is generated.

D.
Call the Finalize method after the Office Word 2007 report is generated.
Use the EventSchemaTraceListener class after the Office Word 2007 report is generated.


Leave a Reply