相关考题

单项选择题 你作为应用程序开发人员在Certkiller.com上班 ,Certkiller.com 使用 Visual Studio.NET 2005 作为其应程序开发平台。您最近完成了一类名为 TestReward 的开发和包中的类。NET 2.0 程序集命名为 TestObj.dll。你发布后,并用于客户端应用程序后,您决定将移动TestReward 类从 TestObj.dll程序集 到TestRewardObj.dll 程序集。你要确保你发布的更新后的TestObj.dll 和TestRewardObj.dll 程序集时,客户端应用程序可以继续工作,而不需要重新编译。你应该做什么?()

多项选择题 Youaredevelopinganapplicationthatreceiveseventsasynchronously.YoucreateaWqlEventQueryinstancetospecifytheeventsandeventconditionstowhichtheapplicationmustrespond.YoualsocreateaManagementEventWatcherinstancetosubscribetoeventsmatchingthequery.Youneedtoidentifytheotheractionsyoumustperformbeforetheapplicationcanreceiveeventsasynchronously.Whichtwoactionsshouldyouperform?()

单项选择题 要创建自定义的异常类,所以名为 ProductDoesNotExistException 的自定义的异常由用户指定的产品不可用时,会在一个新的应用程序中显示消息。此自定义的异常类将采取产品 id 作为参数的构造函数,并且公开此值通过产品 id。你现在是创建名为 UpdateProduct 的一种方法。此方法将用于生成和管理 ProductDoesNotExistException 异常,如果产品 id 变量中包含的值为 0。您需要确保适当的代码使用 UpdateProduct 方法。你应该做什么?()