You are working on a debug build of an application.You need 

题目
单选题
You are working on a debug build of an application.You need to find the line of code that caused an exception to be thrown. Which property of the Exception class should you use to achieve this goal?()
A

Data

B

Message

C

Stack Trace

D

Source

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You use Microsoft .NET Framework 4 to create a Windows Forms client application.You write the following code segment.The application contains a form of type Form1 that contains a FormSettings object named frmSettings1.You need to maintain the user‘s form size preference each time the user executes the application.Which code segment should you use? ()

A.

B.

C.

D.


参考答案:D

第2题:

Your network contains an Active Directory domain named contoso.com. The network has DirectAccess deployed.You deploy a new server named Server1 that hosts a management application.You need to ensure that Server1 can initiate connections to DirectAccess client computers.Which settings should you modify from the DirectAccess Setup console?()

A. Application Servers

B. DirectAccess Server

C. Infrastructure Servers

D. Remote Clients


参考答案:C

第3题:

- Sally, could you lend me your calculator Mine is not working. -()

A、No, I can’t.

B、It doesn’t matter.

C、Sure, why do you need it


参考答案:C

第4题:

You are working as an administrator at TestKing, and you need to set the bandwidth of your routers serial port to 56K. Which of the following commands would you use?()

  • A、Bandwidth 56000
  • B、Bandwidth 56000000
  • C、Bandwidth 56
  • D、Bandwidth 56kbps

正确答案:C

第5题:

An ASP.NET application hosts a RESTful Windows Communication Foundation (WCF) service at /Services/Contoso.svc.The service provides a JavaScript resource to clients. You have an explicit reference to the JavaScript in your page markup as follows.You need to retrieve the debug version of the service JavaScript. What should you do?()

A. In the <%@ ServiceHost %> header for /Services/Contoso.svc, set the Debug attribute to true.

B. In the <%@ Page %> header, set the Debug attribute to true.

C. In the script tag, add a debug attribute and set its value to true.

D. In the script tag, append debug to the src attribute.


参考答案:D

第6题:

You are working on an existing Web site. You need to secure the Web site by redirecting all users to the logon page, Login.aspx. After logging on, users must be sent back to the page that they originally requested.Which code segment should you use?()

A.

B.

C.

D.


参考答案:D

第7题:

You want to debug the Windows Communication Foundation (WCF) client and server interaction through message and application tracing.You need to correlate traces generated on the client and the server. Which XML segment should you add to the system.diagnostics configuration element in the client and server application configuration file?()

A.

B.

C.

D.


参考答案:A

第8题:

You have recently created an application, and want to capture all debugging text messages generated by it.You would like these debugging messages to display on the command line. The application that you created contains the following code:Debug.WriteLine ("Start the processing");Console.WriteLine ("Generated by Console.WriteLine");Debug.WriteLine ("End the processing");You need to ensure that you are able to capture all debugging messages to the command line.What should you do?()

A.

B.

C.

D.


参考答案:C

第9题:

You are working as an administrator at TestKing, and you need to set the bandwidth of your routers serial port to 56K. Which of the following commands would you use?()

A. Bandwidth 56000

B. Bandwidth 56000000

C. Bandwidth 56

D. Bandwidth 56kbps


参考答案:C

第10题:

While logged into a router, you wish to see the RIP routing updates in real time as they are sent and received. Which command would you issue to see these updates?()

  • A、Show ip protocols
  • B、Show ip route rip
  • C、Debug ip rip
  • D、Debug ip updates
  • E、Debug ip transactions

正确答案:C

更多相关问题