单项选择题
为应用程序开发人员上班 Certkiller.com,Certkiller.com 使用 Visual Studio.NET 2005 作为其应用程序开发平台。您正在开发NETFramework2.0系统实用程序的应用程序,并且需要用来编写一些代码,使您可以检查的其他平台编译的程序集。.NET框架。创建新的应用程序域和负荷组件到它。你是确保代码加载到这种情况下可以检查但不是执行所必需的。你知道包含程序集的文件的路径名称,但您不知道程序集的名称。你应该做什么?()
A.应使用Assembly.ReflectionOnlyLoadFrom方法
B.应使用Assembly.LoadFrom方法
C.应使用Assembly.ReflectionOnlyLoad方法
D.应使用了Assembly.Load方法
点击查看答案&解析
相关考题
-
单项选择题
为应用程序开发人员上班 Certkiller.com,Certkiller.com 使用 Visual Studio.NET 2005 作为其应用程序开发平台。 您正在开发.NET Framework2.0应用程序,使用CreateDomain AppDomain类的方法来创建应用程序域。 您需要设置新的应用程序域的下列属性: *根目录 *配置文件的位置 *公共语言运行库使用程序集加载到域的搜索路径 您必须确保这些属性的值被传递给CreateDomain方法。 你应该做什么?()
A.作为参数的AppDomainFactory对象传递给CreateDomain方法中。
B.作为参数的AppDomainIsolatedTask对象传递给CreateDomain方法中。
C.作为参数的AppDomainHelper对象传递给CreateDomain方法中。
D.作为参数的AppDomainSetup对象传递给CreateDomain方法中。 -
单项选择题
为应用程序开发人员上班 Certkiller.com,Certkiller.com 使用 Visual Studio.NET 2005 作为其应用程序开发平台。您正在开发.NET框架2.0Windows服务应用程序。您需要跨多个进程同步执行的一些资源。你应该做什么?()
A.使用互斥锁类。
B.使用Interlocked类。
C.使用Monitor类。
D.使用ReaderWriterLock类。 -
单项选择题
You are creating an application that lists processes on remote computers. The application requires a method that performs the following tasks: Accept the remote computer name as a string parameter named strComputer. Return an ArrayList object that contains the names of all processes that are running on that computer. You need to write a code segment that retrieves the name of each process that is running on the remote computer and adds the name to the ArrayList object. Which code segment should you use?()
A.A
B.B
C.C
D.D
