单项选择题
You are writing an application that uses SOAP to exchange data with other applications. You use a Department class that inherits from ArrayList to send objects to another application. The Department object is named dept. You need to ensure that the application serializes the Department object for transport by using SOAP.
Which code should you use?()
A.A
B.B
C.C
D.D
相关考题
-
单项选择题
为应用程序开发人员上班 Certkiller.com。 您正在使用的应用程序,并且希望使用平台调用从托管代码调用非托管的函数的服务。 您将如何完成这项任务?()
A.创建一个用于存储DLL函数的类。通过使用托管的代码中创建原型方法。
B.使用COM注册程序集。托管的代码引用从com。
C.导出类型库的托管代码。
D.导入为程序集的类型库。创建COM对象的实例。 -
多项选择题
为应用程序开发人员上班 Certkiller.com。 您正在开发新的应用程序,名为 Certkiller App12。 Certkiller App12 必须配置为异步接收事件。 您定义名分别为 Wq1EventQuery 和 ManagementEventWatcher 的两个实例。 Wq1EventQuery 将列出这些应对 Certkiller App12 的事件和事件的条件。ManagementEventWatcher 将订阅与该查询匹配的所有事件。 哪两个额外的操作应您仍执行,使 Certkiller App12 异步接收事件?() 选择两个正确答案。每个答案提供唯一的完整的解决方案的一部分。
A.调用Start方法的开始侦听事件ManagementEventWatcher。
B.若要配置事件的侦听器,使用ManagementEventWatcher的EventArrived事件。
C.要等待的事件,请使用ManagementEventWatcher的WaitForNextEvent方法。
D.创建事件处理程序类,包含接收ObjectReadyEventArgs参数的一种方法。
E.使用ManagementEventWatcher的已停止事件配置事件的侦听器。 -
单项选择题
为应用程序开发人员上班Certkiller.com。 您需要修改应用程序的代码。 应用程序使用两个线程命名线程A和线程B.要完成执行之前线程开始执行线程B。 您将如何完成这项任务?()
A.定义线程A在较低的优先级运行。
B.定义线程B在更高的优先级运行。
C.执行WaitCallback委托来同步线程。
D.调用线程A睡眠的方法
E.调用线程A自旋锁的方法
