首页/ 题库 / [单选题]You are developing a的答案

You are developing a Windows Communication Foundation (WCF) service that is hosted by a Windows Forms Application.The ServiceHost instance is created in the Form Constructor.You need to ensure that the service is not blocked while the UI thread is busy. What should you do?()

单选题
2022-06-28 14:44
A、Decorate the service implementation class with the following line of code [ServiceBehavior(UseSyncronizationContext = false)]
B、Decorate the service implementation class with the following line of code [ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple)]
C、Call the Invoke method of the form and supply a delegate.
D、Call the BeginInvoke method of the form and supply a delegate.
查看答案

正确答案
A

试题解析

标签: CMS专题
感兴趣题目
You are the administrator of a Windows 2000 network.  Your network includes 50 Windows 98 computers. You are adding 40 new PXE compliant computers to the network. The hardware on each new computer is configured identically. You are using a Remote Installation Services (RIS) image to deploy Windows 2000 Professional to the 40 computers. You successfully install Windows 2000 Professional on the first 10 computers. However, you cannot install Windows 2000 Professional on the remaining 30 computers. You want to install Windows 2000 Professional on the remaining 30 computers. What network component do you need to change? 
You are developing a Windows Communication Foundation (WCF) service that contains the following service contract.[ServiceContract( )]public interface IPaymentService{ [OperationContract( )] void RecordPayments(Person person);}public class Person{ ... }public class Employee : Person{ ... }public class Customer : Person{ ... }You need to ensure that RecordPayments can correctly deserialize into an Employee or a Customer object. What should you do?()
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?()
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?()
You are developing a Windows Presentation Foundation (WPF) application for a travel reservation system You need to ensure that users can select a range of travel dates. What should you do ?()
You are developing a custom service host for a Windows Communication Foundation (WCF) service. The service host is named MovieServiceHost.You need to deploy the service with the custom service host in Microsoft Internet Information Services (IIS) 7.0. What should you do?()
You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform. You are developing a Windows Service application which contains three different Windows services. You are required to only set one Windows service to start automatically when the system is restarted. What should you do?()
You copy a Web site from a development site to a staging site. You do not have the Web site in a source control application. Another developer begins to fix bugs on the staging site while the development team adds features on the development site. You need to synchronize the development site and the staging site and copy the latest version of each file to both locations. What should you do? ()
You copy a Web site from a development site to a staging site. You do not have the Web site in a source control application. Another developer begins to fix bugs on the staging site while the development team adds features on the development site. You need to synchronize the development site and the staging site and copy the latest version of each file to both locations. What should you do?()
You are developing a Windows Communication Foundation (WCF) service that is hosted by a Windows Forms Application.The ServiceHost instance is created in the Form Constructor.You need to ensure that the service is not blocked while the UI thread is busy. What should you do?()
【参考范例九】Education Are you with a job or are you studying?
You are the network administrator for All servers run Windows Server 2003. You are creating a backup schedule for the main file server. You need to create a schedule so that backup jobs are completed in the shortest amount of time possible. What should you do?()
相关题目
The windows that are displayed when you start VB are known as the Visual Basic Integrated Development Environment (IDE).

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?()

Are you travelling alone or in a tour group?
Are you married or single?
You are a student, are you

You are developing a Web application to display products. Products are displayed on different pages on your Web site. You want to create a user control to manage the display of products. You need a default visual implementation of the UI of the user control. In addition, you need to provide developers with the flexibility to change the layout and controls of the UI.
Which three actions should you perform?()

Are you going to borrow a dictionary or a magazine ? -- ____.
You are a trainee technician at TestKing, Inc. Your instructor tells you to backup an IOS image of a Cisco device to a Windows 2003 server on the network.What should you do first?()

You are developing a Windows Communication Foundation (WCF) service. The service operation takes a customer number as the only argument and returns information about the customer. The service requires a security token in the header of the message. You need to create a message contract for the service.
Which code segment should you use?()

You are developing a custom service host for a Windows Communication Foundation (WCF) service. The service host is named MovieServiceHost.You need to deploy the service with the custom service host in Microsoft Internet Information Services (IIS) 7.0.
What should you do?()

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?()

As a visitor or guest in either a Chinese home or restaurant you will find that()manners are important to the enjoyment of your meals and keep you in high spirits!

You are developing a Windows Presentation Foundation (WPF) application for a travel reservation system
You need to ensure that users can select a range of travel dates.
What should you do ?()

You are developing a Windows Communication Foundation (WCF) service that is hosted by a Windows Forms Application.The ServiceHost instance is created in the Form Constructor.You need to ensure that the service is not blocked while the UI thread is busy.
What should you do?()

You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform.
You are developing a .NET Framework 2.0 Windows Service application and are busy writing the following installation code for the Windows service:
<RunInstallerAttribute(True)> Public Class TestServiceInstaller Implemets Installer
'Additional code to go here
End Class
You are required to install the Windows service and write the values associated with the service in the Windows Registry.
What should you do?()

You are the administrator of a Windows NT Server 4.0 computer named Ezonexam1.

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?()

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?()

You are developing a Windows Communication Foundation (WCF) service.
You need to enable security auditing for all events.
What should you do?()

You are developing a Windows Communication Foundation (WCF) service that must be discoverable.You need to ensure that the ServiceHost instance supports multiple discovery versions.
What should you do?()

广告位招租WX:84302438

免费的网站请分享给朋友吧