当前位置:MCPD(70-536)题库

问题:

[单选]

Certkiller.com 已要求您创建多线程应用程序,其中执行关键的数据库备份操作,按小时计算。
您定义此操作,用下面的代码:
public void BackupDB () {
//Implementation code
}
然后,您可以创建一个线程对象,调用此方法的目的。
您需要确保该线程计划之前任何其他线程在运行时执行。
你应该做什么?()

A .
B .
C .
D .

喘鸣症 You are the network administrator for your company. The network consists of a single Active Directory domain. All network servers run Windows Server 2003, and all are members of the domain. All client computers run Windows XP Professional. Five Web servers host the content for the internal network. Each one runs IIS and has Remote Desktop connections enabled. Web developers are frequently required to update content on the Web servers. You need to ensure that the Web developers can use Remote Desktop Connection to transfer Web documents from their client computers to the five Web servers. What should you do? () Install the Terminal Server option on all five Web servers. Use Terminal Services Configuration Manager to modify the session directory setting.。 Install the Terminal Server option on all five Web servers. Use Terminal Services Configuration Manager to create a new Microsoft RDP 5.2 connection.。 On each Web developer's client computer, select the Disk Drives check box in the properties of Remote Desktop Connection.。 On each Web developer's client computer, select the Allow users to connect remotely to this computer check box in the System Properties dialog box.。 简述安全评价的一般程序? “互联网+”创新商业模式涌现,()是核心资源。 A.配件 。 B.网点 。 C.资金 。 D.流量。 领导

Certkiller.com 已要求您创建多线程应用程序,其中执行关键的数据库备份操作,按小时计算。
您定义此操作,用下面的代码:
public void BackupDB () {
//Implementation code
}
然后,您可以创建一个线程对象,调用此方法的目的。
您需要确保该线程计划之前任何其他线程在运行时执行。
你应该做什么?()

参考答案:

  参考解析

此代码实例化,将执行的 BackupDB 方法,指定将最高优先级调度线程的执行,并开始运行的线程的线程对象。当实例化一个线程对象,您必须指定它将调用的方法的名称。正在执行计划时,优先级属性指示线程在等待队列中的相对位置。如果有两个线程在等待队列到达相对的同时,更高的优先级线程将收到另前的时间片。优先级属性是一个 ThreadPriority 枚举值,可最低、 BelowNormal、 正常、 AboveNormal 和 Highest.by 默认情况下,优先级属性设置为 ThreadPriority.Normal。

在线 客服