You are working with a Windows Communication Foundation (WCF) client application that has a generated proxy named SampleServiceProxy.When the client application is executing, in line 04 of the following code, the channel faults (Line numbers are included for reference only.) 01 SampleServiceProxy proxy = new SampleServiceProxy( ); 02 try 03 { 04 proxy.ProcessInvoice(invoice); 05 } 06 catch 07 { 08 if(proxy.State == CommunicationState.Faulted) 09 { 10 ... 11 } 12 } 13 proxy.UpdateCustomer(customer);You need to return proxy to a state in which it can successfully execute the call in line 13.Which code segment should you use at line 10?()A、proxy.Close();B、proxy = new SampleServiceProxy();C、proxy.Abort();D、proxy.Open();
You are working with a Windows Communication Foundation (WCF) client application that has a generated proxy named SampleServiceProxy.When the client application is executing, in line 04 of the following code, the channel faults (Line numbers are included for reference only.) 01 SampleServiceProxy proxy = new SampleServiceProxy( ); 02 try 03 { 04 proxy.ProcessInvoice(invoice); 05 } 06 catch 07 { 08 if(proxy.State == CommunicationState.Faulted) 09 { 10 ... 11 } 12 } 13 proxy.UpdateCustomer(customer);You need to return proxy to a state in which it can successfully execute the call in line 13.Which code segment should you use at line 10?()
- A、proxy.Close();
- B、proxy = new SampleServiceProxy();
- C、proxy.Abort();
- D、proxy.Open();
相关考题:
You want to upgrade 100 computers from Windows 98 to Windows 2000 Professional. You use setup manager to create the unattended.txt file. The hardware on each computer is configured identically. You upgrade 10 of the computers. You notice that the monitors on the 10 computers go blank after Windows 2000 Professional loads. You restart one of the computers in Safe Mode, and find that the monitor appears to be working. Which change should you make to unattend.txt to configure your video settings correctly?Click the appropriate line on the Unattend.txt Notepad screen.
You are developing a Windows Service. The Windows Service will host a Windows Communication Foundation (WCF) service.The Windows Service class will inherit from ServiceBase.You need to ensure that the WCF service starts when the Windows Service is restarted.What should you do in the Windows Service class?()A.B.C.D.
Your personal history says you've been working at the ** company for the past two years. Why do you want to change jobs?
According to your resume, you have had some experience working in a foreign company. May I ask you why you left?
You perform a clean installation of Microsoft Windows Vista on the first partition. Then, you install Microsoft Windows XP Professional on the second partition of the same machine.You are able to log on to Windows XP Professional but do not have the option to boot to Windows Vista.You need to be able to dual boot the computer.What should you do?()A.AB.BC.CD.D
If you know that the vessel you are about to call on the VHF radio maintains a radio watch on both the working and the calling frequencies, which frequency should you call on ?______.A.Calling frequencyB.Distress frequencyC.Urgency frequencyD.Working frequency
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 work as a senior administrator at ABC.com. The ABC.com network consists of a single domain named ABC.com. All servers on the ABC.com network have Windows Server 2012 R2 installed, and all workstations have Windows 8 installed. You are running a training exercise for junior administrators.You are currently discussing the Always Offline Mode. Which of the following is TRUE with regards to the Always Offline Mode?()A、It allows for swifter access to cached files and redirected folders.B、To enable Always Offline Mode,you have to satisfy the forest and domain functional-level requirements, as well as schema requirements.C、It allows for lower bandwidth usage due to users are always working offline.D、To enable Always Offline Mode, you must have workstations running Windows 7 or Windows Server 2008 R2.
You have a computer that runs Windows Vista. You need to identify whether the computer can be upgradedto Windows 7. Which tool should you use?()A、Windows Anytime Upgrade for Windows 7.B、Windows Anytime Upgrade for Windows Vista.C、Windows 7 Upgrade Advisor.D、Windows Vista Upgrade Advisor.
Windows NT 4.0 is currently on the system you are using, and you want to install Windows 2000 Professional. Windows NT 4.0 is currently on an NFTS partition. For some reason you have decided that you are not going to upgrade, but rather, you are going to run this in a dual boot fashion. What do you need to do? ()A、Can’t be done.B、You need to put Windows 2000 on a separate partition from Windows NT 4.0C、You need to put Windows 2000 on the same partition as Windows NT 4.0.D、You need to upgrade Windows NT 4.0 to SP4.
You are a network administrator for ExamSheet.net's Windows 2000 network. Your computer is installed with Windows 2000 Professional. You schedule a task that will copy files from your computer to another computer on the network. You notice that the task is not completing correctly. You manually copy the files from your computer to other computers on the network without any errors. You verify that all of your other tasks are working correctly. You want the task to complete successfully. What should you do? ()A、Start the Remote Procedure Call (RPC) Locater service and configure the service to start automatically.B、Start the RunAs service and configure the service to start automatically.C、Configure the Task Scheduler service account to use the local Administrator account and password. Restart the service.D、Use Scheduled Tasks to configure the task to run under the security context of your account.
A Windows Azure .NET 4 application is experiencing a runtime issue. One of the roles cycles through initializing, working, and stopping. You need to recommend an approach for identifying the problem. What should you recommend?()A、 Attach the remote debugger to the application.B、 Enable IntelliTrace and redeploy the application.C、 View the logs in the Windows Azure Diagnostic tables.D、 Use the Event Viewer to remotely connect to the role.
单选题A Windows Azure .NET 4 application is experiencing a runtime issue. One of the roles cycles through initializing, working, and stopping. You need to recommend an approach for identifying the problem. What should you recommend?()A Attach the remote debugger to the application.B Enable IntelliTrace and redeploy the application.C View the logs in the Windows Azure Diagnostic tables.D Use the Event Viewer to remotely connect to the role.
单选题You are using Windows 2000 Professional on your desktop computer. You are working on the company’s financial report and you want other users on the network to able to modify your documents for the report. You want users to share the financial report folder on the network. Because the network contains confidential information you want to prevent users from the enabling off line access for the network share that contains the financial report. What should you do?()AUse Windows Explorer to receive the offline filesBUsing the Windows Explorer, disable the cache for the reports on the network shareCUse the Windows NT explorer to grant the special access for the reports on the network shareDUse the synchronization manager to configure synchronization not to occur when users are connected to the LAN connection.
单选题Windows NT 4.0 is currently on the system you are using, and you want to install Windows 2000 Professional. Windows NT 4.0 is currently on an NFTS partition. For some reason you have decided that you are not going to upgrade, but rather, you are going to run this in a dual boot fashion. What do you need to do? ()ACan’t be done.BYou need to put Windows 2000 on a separate partition from Windows NT 4.0CYou need to put Windows 2000 on the same partition as Windows NT 4.0.DYou need to upgrade Windows NT 4.0 to SP4.
单选题You install a new CD-ROM on your computer. After installing the appropriate drivers and restarting the computer you notice that it is not working correctly. You check resources and find out that it is not using “Automatic resource settings”. How do you get your CDROM to work? ()ACheck ‘Use Automatic Settings’BUpdate the drivesCUse the windows troubleshooterDManually set the interrupt,I/O port, and memory address to that of the hardware manufacturers specifications.
单选题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?()ADisk Quota settingsBMy Documents propertiesCOffline Files propertiesDSynchronization settings
单选题You work as an application developer at Certkiller .com. You have been given the task of developing a Windows service application that regularly monitors other Windows services on the same computer. This Windows service application must also log any abnormal file system activity. You have added the following class to the Windows service application: public class EnumerateService : ServiceBase { public static EnumerateService () { this.ServiceName = "Enumerate Service"; this.CanStop = true; } protected override void OnStart (string[] args) { // Enumerate all services and initialize the FileSystemWatcher } protected override void OnStop () { // Stop the FileSystemWatcher and perform cleanup } public static void Main () { EnumerateService service = new EnumerateService(); } } You then create the installer for the Windows service application, and install the Windows service application. You have configured the Windows service Startup type to Automatic, and rebooted the system. You then test the new Windows service application, and find that it is not working.You need to ensure that the service is working properly. What should you do?()A Override the OnBoot method instead of the OnStart method.B Replace the Main method code with the following code: EnumerateService service = new EnumerateService (); Service.Run ();C Override the OnLoad method instead of the OnStart method.D Replace the Main method code with the following code: EnumerateService service = new EnumerateService (); Run (service);
单选题You have a portable computer that runs Windows 7. The computer is configured to keep an offline versionof files located in a network share. You need to identify whether you are working on an offline version of a file. What should you do?()AFrom Sync Center, click View sync partnerships.BFrom Action Center, click View archived messages.CFrom Windows Explorer, select the file and then view the toolbar.DFrom Windows Mobile Device Center, click the Connection settings.
单选题You have failed two tests. You'd better start working harder,_____ you won't pass the course.AandBbutCorDso