这个任务通过使用清单11中所示的代码来完成。
本文是一篇快速教程,讲解了如何在托管代码中使用计划任务程序。
This is a quick lesson on how to use the Task Scheduler from managed code.
清单2展示了这项任务的代码。
不过写代码是每个程序员都无法逃避的任务。
在此任务中,我们开始鉴别实现用例的代码。
In this task, we start identifying the code that implements the use cases.
可以将任务解决代码设置为处理过的。
通常,大部分代码都可以使用元编程工具来实现这个任务。
Often, most of the code can use the metaprogramming tools available to accomplish the task.
任务是你可以编写最大限度重用和最复杂代码的位置。
A task is the place where you will write the most reusable complex code.
联系人列表和项目任务列表之间的代码差异非常小。
There is minimal code difference between a contacts list and a project task list.
您可以添加必要的代码来实现该任务。
You can later add the necessary code to actually implement the task.
第四个任务可用清单20中的代码来完成。
The fourth task can be accomplished with the code in Listing 20.
第二个任务可用清单18中的代码来完成。
The second task can be accomplished with the code in Listing 18.
第三个任务可用清单19中的代码来完成。
The third task can be accomplished with the code in Listing 19.
第一个任务可用清单17中的代码来完成。
The first task can be accomplished with the code in Listing 17.
请查看代码归档中的脚本了解如何整合该任务。
Please review the script in the code archive for how this task is pulled together.
你的任务应用程序代码就将在这里面执行。
清单3中的代码就完成了这个任务。
完成此任务所需的所有代码都包含在下面部分。
示例代码首先解析通知源以确定任务ID。
The sample code initially parses the source of the notification to determine the task ID.
列表9 .启动这个任务和进度工具条的代码。
编写代码以访问远程人工任务管理器。
编写代码以便为人工任务执行操作。
对于Web开发人员来说,在服务器上运行代码是一项常见任务。
Running code on a server is a common task for any Web developer.
显示的代码片断将完成这一任务。
清单1显示了来自样例应用程序任务代理的相关源代码。
The relevant source code from the sample application task agent is shown in Listing 1.
它使用了三行代码来完成一项任务:即设置文本。
It takes three lines to accomplish one task: setting the text.
对于任何规模的企业中的任何一名开发人员来说,另一项常见任务是管理源代码。
Another common task for any developer in any size organization is managing source code.
让我们来看看清单4中的代码是如何完成该任务的。
添加一个代码行,去除jar任务内的文件集中的MANIFEST. MF;例如。
Add a line to exclude the MANIFEST.MF in the fileset inside the jar task; for example.
添加一个代码行,去除jar任务内的文件集中的MANIFEST. MF;例如。
Add a line to exclude the MANIFEST.MF in the fileset inside the jar task; for example.
应用推荐