HOTSPOT
You are developing an application that includes a Windows Communication Foundation (WCF) service. The
service includes a custom TraceSource object named ts and a method named DoWork. The application must
meet the following requirements:
Collect trace information when the DoWork() method executes.
Group all traces for a single execution of the DoWork() method as an activity that can be viewed in the WCF
Service Trace Viewer Tool.
You need to ensure that the application meets the requirements.How should you complete the relevant code? (To answer, select the correct code segment from each dropdown list in the answer area.)
Hot Area:
You need to ensure that the application meets the requi…
HOTSPOT
You are developing an application that includes a Windows Communication Foundation (WCF) service. The
service includes a custom TraceSource object named ts and a method named DoWork. The application must
meet the following requirements:
Collect trace information when the DoWork() method executes.
Group all traces for a single execution of the DoWork() method as an activity that can be viewed in the WCF
Service Trace Viewer Tool.
You need to ensure that the application meets the requirements.How should you complete the relevant code? (To answer, select the correct code segment from each dropdown list in the answer area.)
Hot Area:
11222
Here are some examples: http://www.codeproject.com/Articles/185666/ActivityTracerScope-Easy-activity-tracing-with