单项选择题

为应用程序开发人员上班 Certkiller。.com,Certkiller.com 使用 Visual Studio.NET 2005 作为其应用程序开发平台。
您正在开发。NET Framework 2.0 银行业函数检索的注销的支票图像,并将它们显示在 Windows 窗体应用程序,繁忙的工作中。目前,您可以从 Microsoft SQL server 作为一系列字节读入图像的一种方法来访问。
您需要选择一个类,使您得以到 Windows 窗体应用程序从 SQL 服务器传输图像,虽然您的解决方案可以减少需要的临时缓冲区和文件
你应该做什么?()

A.使用MemoryStream类.
B.使用NetworkStream类.
C.使用FileStream类.
D.使用BufferedStream类.


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题您开发需要部署的服务应用程序。您的网络管理员创建服务应用程序的特定用户帐户。您需要在此特定用户帐户的上下文中运行的应用程序服务进行配置。你应该做什么?()

A.在安装之前,请将ServiceInstaller类的启动类型属性的设置。
B.在安装之前,请设置帐户、用户名和密码ServiceProcessInstaller类的属性。
C.使用net.exe命令行工具的配置选项来安装服务。
D.使用installutil.exe命令行工具来安装服务。

3.单项选择题

创建 Windows 服务应用程序的目的是监测活动的数量
Certkiller.com 的服务器上运行的服务请求。
要配置该 Windows 服务应用程序,提交一份报告,每隔十分钟。
你开始通过将报告逻辑放置在该 Windows 服务的 GenerateReport 方法。
您要创建一个计时器对象调用此方法每隔十分钟。
你应该做什么?()

A.TimertmrReport=newTimer(newTimerCallback(GenerateReport),null,600000,0);
B.TimertmrReport=newTimer(newTimerCallback(GenerateReport),null,10,0);
C.TimertmrReport=newTimer(newTimerCallback(GenerateReport),null,0,600000);
D.TimertmrReport=newTimer(newTimerCallback(GenerateReport),null,0,10);

9.单项选择题

最近,您创建了一个业务应用程序,需要复杂的安装逻辑。
您可以添加到项目的以下代码后选择创建一个自定义的安装程序,业务应用程序。()
public class ApplicationInstaller : Installer {
public override void Install (IDictionary stateSaver) {
//Install the application
Base.Install (stateSaver);
}
public override void Commit (IDictionary savedState) {
//Commit the application

A.程序集应该被编译并且Install.exe工具适应运行。
B.RunInstaller特性应该被夹在business程序集上并且应该被设成true。
C.程序集赢该被编译并且应该正常的运行
D.RunInstaller特性应该被添加到ApplicationInstaller类上并且应该被设成true.

10.单项选择题

你得到了开发定期监察在同一台计算机上的其他 Windows 服务的 Windows 服务应用程序的任务。
该Windows 服务应用程序还必须登录任何异常的文件系统活动。下面的类添加到 Windows 服务应用程序:()
public class EnumerateService : ServiceBase {
public static EnumerateService () {
this.ServiceName = "Enumerate Service";
this.CanStop = true;
}

A.重载OnBoot方法
B.使用下面的代码替换主要代码:EnumerateServiceservice=newEnumerateService();service.Run();
C.重载OnLoad方法
D.使用下面的代码替换主要的代码:EnumerateServiceservice=newEnumerateService();

最新试题

You need to serialize an object of type List<int> in a binary format.The object is named data.Which code segment should you use?()

题型:单项选择题

您将创建一个使用的非托管的资源的类。此类维护对其他对象的托管资源的引用。您需要确保这类的用户可以显式释放资源,当不再需要的类实例。您应执行哪三种操作?()

题型:多项选择题

为应用程序开发人员上班 Certkiller。 com。Certkiller.com 作为其应用程序使用 Visual Studio.NET 2005开发平台。您正在开发一个 Windows 窗体应用程序。你被要求要创建一个新的类引发大量的事件和保持尽可能低的内存使用的类。必须完成此任务,使用代码的最小数量可能。你应该做什么?()

题型:单项选择题

为应用程序开发人员上班 Certkille。.com,Certkiller.com 使用 Visual Studio.NET 2005 作为其应用程序开发平台。您正在开发一个 Windows 服务应用程序包含两个服务。第一个服务监控目录的新订单,而其他服务将复制的数据库表的最新信息。您需要开发一个项目安装程序类,以安装这些服务。你应该做什么?()

题型:多项选择题

为应用程序开发人员上班 Certkiller。.com,Certkiller.com 使用 Visual Studio.NET 2005 作为其应用程序开发平台。您正在开发。NET 框架 2.0 Windows 服务应用程序,用于执行需要后台处理的几个短的任务。你不需要有积极管理您的应用程序中的线程,但您是需要确保在执行任务的过程中将执行安全检查。你应该做什么? ()

题型:单项选择题

为应用程序开发人员上班 Certkiller。 com。您正在开发.NET 框架 2.0 Windows 服务指定将用于不断的 TestScannerSync 的应用程序扫描仪连接到计算机的显示器。TestScannerSync 类继承及其功能ServiceBase 类。当您连接扫描仪服务同步其数据与数据SQL Server 数据库中的数据。您决定重写在 TestScannerSync 如上方法关闭数据库连接的类和写入代码。您需要确定在代码中的位置,您可以打开到数据库的连接。你应该做什么?()

题型:单项选择题

Certkiller.com has given you the task of serializing an object and writing it to a data file using binary serialization.You need to ensure that you meet these requirements.What should you do?()

题型:单项选择题

You work as an application developer at Certkiller .com. You are currently in the process of creating a new application for Certkiller .com. You are required to read compressed data files that has been sent by Certkiller .com's sales offices.These data files are less than 4 GB in size, but was compressed without cyclic redundancy. You want to write a method that receives the compressed files and return the uncompressed data as a byte array.What should you do?()

题型:单项选择题

You have recently created a serializable class named Vehicle.The class is shown below:[Serializable]public class Vehicle{public string VIN;public string Make;public string Model;public string Year;}You are planning to create a custom formatter class to control the formatting of Vehicle objects when they are serialized.You need to ensure that is achieved with as little development effort as possible.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?()

题型:单项选择题