试题详情
单项选择题 You are developing a Windows Communication Foundation (WCF) service.You enable message logging, trace listeners, activity propagation, and tracing on the trace sources.You have the following code segment in the client application. (Line numbers are included for reference only.) 01 Guid multiCallActivityId = Guid.NewGuid( ); 02 TraceSource ts = new TraceSource("Multicall"); 03 Trace.CorrelationManager.ActivityId = multiCallActivityId; 04You encounter errors when your client application consumes the service.You need to ensure that your client application can correlate tracing information with the service. Which code segment should you add at line 04?()

A、

B、

C、

D、

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题