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

题目内容 (请给出正确答案)
单选题
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


参考答案

参考解析
解析: 暂无解析
更多 “单选题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 DataB MessageC Stack TraceD Source” 相关考题
考题 - 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

考题 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.

考题 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.

考题 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.

考题 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 ServersB. DirectAccess ServerC. Infrastructure ServersD. Remote Clients

考题 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.

考题 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.

考题 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 56000B. Bandwidth 56000000C. Bandwidth 56D. Bandwidth 56kbps

考题 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 56000B、Bandwidth 56000000C、Bandwidth 56D、Bandwidth 56kbps

考题 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 protocolsB、Show ip route ripC、Debug ip ripD、Debug ip updatesE、Debug ip transactions

考题 In which two cases would you perform only consistent backup?()A、You are working on a database where downtime is not tolerated.B、You are working on a database where downtime can be tolerated.C、You are working on a database that operates in ARCHIVELOG mode.D、You are working on a database that operates in NOARCHIVELOG mode.E、You are working on a database where all the tablespaces are locally managed.F、You are working on a database where control files and redo log files are multiplexed.G、You are working on a database where control files and redo log files are not multiplexed.

考题 You are developing an ASP.NET application by using Visual Studio 2010. You need to interactively debug the entire application. Which two actions should you perform? ()A、Set the Debug attribute of the compilation node of the web.config file to true.B、Add a DebuggerDisplay attribute to the code-behind file of the page that you want to debug.C、Select the ASP.NET debugger option in the project properties.D、Define the DEBUG constant in the project settings.

考题 You need to evaluate whether the currently available network bandwidth is adequate to run NewApp. Which three actions should you perform?()A、Use a debug version of NewApp to collect information about NewApp.B、Use Performance Monitor to collect data about the saturation of each WAN link.C、Use Network Monitor to analyze the data that is transmitted over the network for App1.D、Install SNMP on all computers that are connected to App1 to obtain information about App1.E、Build a test environment for NewApp to analyze how much bandwidth is required for NewApp.

考题 单选题You need to recommend a server build for the Web servers. Which server build should you recommend?()A Class 1B Class 2C Class 3D Class 4

考题 单选题You are developing a Windows Presentation Foundation (WPF) application. You configure PresentationTraceSource to track errors in a bound TextBox control in the application. You need to choose the window that the Trace information is sent to Which Visual Studio window should you select ?()A AutosB ImmediateC LocalsD Output

考题 单选题You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You plan to deploy the application to a test server.  You need to ensure that during the initial request to the application, the code-behind files for the Web pages are compiled. You also need to optimize the performance of the application.  Which code fragment should you add to the Web.config file?()A compilation debug=true B compilation debug=false C compilation debug=true batch=true D compilation debug=false batch=false

考题 单选题You are creating a Windows Forms application by using the .NET Framework 3.5.You plan to develop a new control for the application.You need to ensure that the control extends the DataGridView control by allowing the cells to contain multicolored text.What should you do?()A Override the OnPaint method.B Write a code segment to handle the CellPainting event.C Write a code segment to handle the CellParsing event.D Write a code segment to handle the RowPostPaint event.

考题 单选题You have a domain controller that runs Windows Server 2008 and is configured as a DNS server You need to record all inbound DNS queries to the server. What should you configure in the DNS Manager console()A Enable debug logging.B Enable automatic testing for simple queries.C Enable automatic testing for recursrve queries.D Configure event logging to log errors and warnings.

考题 单选题You are developing a Windows Presentation Foundation (WPF) application. You need to display HTML content from a Web Page on the WPF form. What should you do?()A Add a FlowDocumentReader control to the design surface. Then create a FlowDocument control.B Add a ContentControl control to the design surface. The reference a WebClient object to return an HTML string.C Add a DocumentViewer control to the design surface. The create a FixedDocument control.

考题 单选题You create a Microsoft ASP.NET AJAX application by using the Microsoft .NET Framework version 3.5.  You attach Microsoft Visual Studio 2008 debugger to the Microsoft Internet Explorer instance to debug the JavaScript code in the AJAX application.  You need to ensure that the application displays the details of the client-side object on the debugger console.  What should you do?()A Use the Sys.Debug.fail method.B Use the Sys.Debug.trace method.C Use the Sys.Debug.assert method.D Use the Sys.Debug.traceDump method.

考题 单选题You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application uses data-bound controls. You discover that when the application is executed by users, one of the controls is not displayed properly. You need to view the property values assigned to the controls. What should you do?()A Use IntelliTrace.B Use PresentationTraceSource.C Run the application in debug mode with Visual Studio 2010. Use the Auto window while you step through the application code.D Run the application in debug mode with Visual Studio 2010. Use the WPF Visualizer while you step through the application code.

考题 单选题You create a Microsoft ASP.NET AJAX application by using the Microsoft .NET Frameworkversion 3.5.  You attach Microsoft Visual Studio 2008 debugger to the Microsoft Internet Explorer instance to debug the JavaScript code in the AJAX application.  You need to ensure that the application displays the details of the client-side object on the debugger console.  What should you do?()A Use the Sys.Debug.fail method. B Use the Sys.Debug.trace method. C Use the Sys.Debug.assert method. D Use the Sys.Debug.traceDump method.

考题 单选题You are creating a Windows Forms application by using the .Net Framework 3.5.You plan to design a composite control for the application.You need to derive the control from a base class that supports templates.What should you do?()A Derive from the Control class.B Derive from the UserControl class.C Derive from the ScrollableControl class.D Derive from the ContainerControl class.

考题 单选题You are developing a Windows Presentation Foundation (WPF) application. You are implementing a test strategy for the application. You need to ensure that the test class can repeat user input. From which base class should the test class inherit?()A AutomationElementIdentifierB AutomationPeerC KeyboardD UICues

考题 问答题Q5: Do you think changes to working practices could avoid the need for larger premises? (Why?/Why not?)

考题 单选题You have a portable computer that runs Windows XP Professional. When the computer is disconnected from the network, you receive a message in the notification area that says you are working offline. The message reappears every hour. You need to prevent the message from appearing while you are working offline. What should you modify?()A Disk Quota settingsB My Documents propertiesC Offline Files propertiesD Synchronization settings

考题 单选题You are loading a new assembly into an application. You need to override the default evidence for the assembly. You require the common language runtime (CLR) to grant the assembly a permission set,as if the assembly were loaded from the local intranet zone.  You need to build the evidence collection. Which code segment should you use?()A AB BC CD D