网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

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.


参考答案

更多 “ 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. ” 相关考题
考题 胭脂的英文是Rouge/foundation(blush)() 此题为判断题(对,错)。

考题 You are creating a Windows Communication Foundation (WCF) service that responds using plain-old XML (POX).You have the following requirements: You must enable the /catalog.svc IItems operation to respond using the POX, JSON, or ATOM formats. You also must ensure that the same URL is used regardless of the result type. You must determine the response format by using the Accepts HTTP header.What should you do?()A. Implement the IChannelInitializer interface in the service class.B. Implement the System.Runtime.Serialization.IFormatterConverter interface in the service class.C. Set the BodyStyle parameter of the WebGet attribute on the operation to WebMessageBodyStyle.WrappedResponse.D. Set the retum type of the operation to System.ServiceModel.Channels.Message. Use the current WebOperationContext methods to return the data in the required format.

考题 You are developing a Windows Communication Foundation (WCF) service. You write a method named Submit that accepts messages of the type System.ServiceModel.Channels.Message. You need to process the body of the incoming messages multiple times in the method. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)()A. Use the GetBody method of the Message class to read the content of the messages.B. Use the CreateBufferedCopy method of the Message class to load the messages into memory.C. Use the WriteBodyContents method of the BodyWriter class to make a copy of the messages.D. Use the CreateMessage method of the MessageBuffer class to make a copy of the messages.

考题 Youarecreatinganerrorpagethatprovidesauser-friendlyscreenwheneveraserverexceptionoccurs.Youwanttohidethestacktrace,butyoudowanttoprovidetheexception’serrormessagetotheusersotheusercanprovideittothecustomerserviceagentatyourcompany.WhichELcodesnippetinsertsthiserrormessageintotheerrorpage?()A.Message:b${exception.message}/bB.Message:b${exception.errorMessage}/bC.Message:b${request.exception.message}/bD.Message:b${pageContext.exception.message}/bE.Message:b${request.exception.errorMessage}/b

考题 TwoVPNpeersarenegotiatingIKEphase1usingmainmode.Whichmessagepairinthenegotiation containsthephase1proposalforthepeers?() A.message1and2B.message3and4C.message5and6D.message7and8

考题 Publishingwassuccessfulbutthestorewon’tlaunch.Whichlogshouldbecheckedforerrorsaftertracinghasbeenenabled?() A.trace.logB.message.txtC.activity.logD.trace.txtE.SystemOut.log

考题 He's spent years cultivating a knowledge of art.A:sharing B:using C:denying D:developing

考题 在Windows操作系统的“运行”对话框中键入( )命令,可打开命令提示窗口。A.CMD B.MSDOS C.RUN D.ENABLE

考题 He's spent years cultivating a knowledge of art.A:using B:denying C:sharing D:developing

考题 He's spent years cultivating a knowledge of art.A:denying B:using C:sharing D:developing