相关考题
-
多项选择题
You develop a service application named FileService. You deploy the service application to multiple servers on your network.You implement the following code segment. (Line numbers are included for reference only.) You need to develop a routine that will start FileService if it stops. The routine must start FileService on the server identified by the serverName input parameter.Which two lines of code should you add to the code segment?()
A.Insert the following line of code between lines 03 and 04: crtl.ServiceName = serverName;
B.Insert the following line of code between lines 03 and 04: crtl.MachineName = serverName;
C.Insert the following line of code between lines 03 and 04: crtl.Site.Name = serverName;
D.Insert the following line of code between lines 04 and 05: crtl.Continue();
E.Insert the following line of code between lines 04 and 05: crtl.Start();
F.Insert the following line of code between lines 04 and 05: crtl.ExecuteCommand(0); -
单项选择题
您需要通过使用平台调用服务从托管代码中调用非托管函数。您应该做些什么?()
A.创建一个类支持DLL函数,然后使用托管代码创建原型方法。
B.使用COM注册您的程序集,然后从COM中参考您的托管代码。
C.为托管代码创建一个类库。
D.导入一个类库。然后创建COM对象的实例 -
单项选择题
您正在开发一个方法,一个字符串中子字符串搜索。方法将会意大利本地化。您的方法接受以下参数:在那个字串中搜索(源串),名为serchList,搜索的子字串,名为searchValue。您应该使用哪个代码段?()
A.
B.
C.
D.
