单项选择题

您正在Cerkiller-WS552上开发。NET Framework 2.0 企业应用程序。应用程序将用来允许用户发送电子邮件,并应允许用户发送基于 HTML 的电子邮件,但是,用户不应能够使用 HTML 标记在 HTML 文档中嵌入图像。
不从外部于是图像必须发送电子邮件消息的一部分作为承载的图像。
您需要选择要使用的类。
你应该做什么?()

A.The AlternateView class should be used.
B.The Attachment class should be used.
C.The MailAddress class should be used.
D.The LinkedResource class should be used.


您可能感兴趣的试卷

你可能感兴趣的试题

7.多项选择题

You are defining a class named MyClass that contains several child objects. MyClass contains a method named ProcessChildren that performs actions on the child objects.MyClass objects will be serializable.You need to ensure that the ProcessChildren method is executed after the MyClass object and all its child objects are reconstructed.
Which two actions should you perform?()

A.Apply the OnDeserializing attribute to the ProcessChildren method.
B.Specify that MyClass implements the IDeserializationCallback interface.
C.Specify that MyClass inherits from the ObjectManager class.
D.Apply the OnSerialized attribute to the ProcessChildren method.
E.Create a GetObjectData method that calls ProcessChildren.
F.Create an OnDeserialization method that calls ProcessChildren.

8.多项选择题

You are developing an application that receives events asynchronously. You create a WqlEventQuery instance to specify the events and event conditions to which the application must respond. You also create a ManagementEventWatcher instance to subscribe to events matching the query.You need to identify the other actions you must perform before the application can receive events asynchronously.
Which two actions should you perform?()

A.Start listening for events by calling the Start method of the ManagementEventWatcher.
B.Set up a listener for events by using the EventArrived event of the ManagementEventWatcher.
C.Use the WaitForNextEvent method of the ManagementEventWatcher to wait for the events.
D.Create an event handler class that has a method that receives an ObjectReadyEventArgs parameter.
E.Set up a listener for events by using the Stopped event of the ManagementEventWatcher.

最新试题

You need to write a code segment that transfers the first 80 bytes from a stream variable named stream1 into a new byte array named byteArray.You also need to ensure that the code segment assigns the number of bytes that are transferred to an integer variable named bytesTransferred.Which code segment should you use?()

题型:单项选择题

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

题型:单项选择题

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

题型:多项选择题

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

题型:多项选择题

You need to write a code segment that transfers the contents of a byte array named dataToSendby using a NetworkStream object named netStream.You need to use a cache of size 8,192 bytes.Which code segment should you use?()

题型:单项选择题

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 hereEnd ClassYou are required to install the Windows service and write the values associated with the service in the Windows Registry.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 develop a serializable class for persisting objects as files.Every time an object is serialized, you have to update the database with the name of the object and location of that file.You elect to employ the OnSerialized attribute to achieve this objective.You now need to apply the OnSerialized attribute to a certain method.What should you do?()

题型:单项选择题

Certkiller .com has a file server named Certkiller -SR07 that stores old inventory files. Certkiller .com has given you the task of creating an application to archive these old inventory files.The inventory files have to be compressed prior to being uploaded to Certkiller .com's Web server.You are currently writing a method that will receive a byte array and compress it into a new file.You need to ensure that a data corruption check takes place during the decompression process.What should you do?()

题型:单项选择题

为应用程序开发人员上班 Certkiller.com。Certkiller.com 作为其应用程序使用 Visual Studio.NET 2005开发平台。您正在开发的应用程序将用来连接和控制上安装的现有服务的行为名为 Certkiller 的网络服务器-SR01。你应该做什么?()

题型:单项选择题