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

问题:

[单选] 您是Company公司的开发者,你正在创建一个名为Company1的程序集,此程序集包含一个公共的方法。一个全局的缓存包含一个名为Company2的程序集。如果您必须确定那个public方法只能在Company2中被调用。则您应该使用下面的哪个权限类?()

A . GacIdentityPermission(从全局缓冲中得到的文件的权限)
B . PublisherIdentityPermission(标识开发商的权限)
C . DataProtectionPermission(控制访问加密数据的权限)
D . StrongNameIdentityPermission(为强名称定义标识权限)

简述个别化教学及其环节。 Your network contains a DHCP server named DHCP1. You have a DHCP reservation for a computer named Computer1.You add a DNS server option to the reservation.You need to ensure that Computer1 immediately receives the new option.What should you do?() Run ipconfig.exe /renew.。 Run ipconfig.exe /registerdns.。 On DHCP1, recreate the reservation.。 On DHCP1, delete the active lease for the reservation.。 our company has four DNS servers that run windows 2008. Each server has a static ip address. You need to prevent dhcp from assigning the addresses of the DNS servers to DHCP clients. What should you do?() Create a new scope for the DNS servers.。 Create a reservation for the DHCP serve.。 Configure the 005 name servers scope option.。 Configure an exclusion that contains the ip addresses of the four DNS servers.。 You are developing a Windows Communication Foundation (WCF) service that allows customers to update financial data. The client applications call the service in a transaction. The service contract is defined as follows. (Line numbers are included for reference only.) 01 [ServiceContract] 02 public interface IDataUpdate 03 { 04 [OperationContract] 05 [TransactionFlow(TransactionFlowOption.Mandatory)] 06 void Update(string accountNumber, double amount); 07 } 08 09 ... 10 class UpdateService : IDataUpdate 11 { 12 [OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)]13 public void Update(string accountNumber, double amount) 14 { 15 try 16 { 17 ... 18 } 19 catch(Exception ex) 20 { 21 WriteErrorLog(ex); 22 ... 23 } 24 } 25 } 26Customers report that the transaction completes successfully even if the Update method throws an exception.You need to ensure that the transaction is aborted if the Update method is not successful. What should you do? () Insert the following line at line 22: throw;。 Insert the following line at line 09: [ServiceBehavior(TransactionAutoCompleteOnSessionClose=false)]。 Replace line 12 with the following line: [OperationBehavior(TransactionScopeRequired=true, TransactionAutoComplete= false)]。 Insert the following line at line 09.: [ServiceBehavior(TransactionAutoCompleteOnSessionClose=true)]。 英国装饰主义风格最主要的成就表现在()的室内设计上。 大型公共场所。 小型公共场所。 私人住宅。 办公场所。 您是Company公司的开发者,你正在创建一个名为Company1的程序集,此程序集包含一个公共的方法。一个全局的缓存包含一个名为Company2的程序集。如果您必须确定那个public方法只能在Company2中被调用。则您应该使用下面的哪个权限类?()
参考答案:

  参考解析

本题暂无解析

相关题目:

在线 客服