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

问题:

[单选]

您正在开发一个类库,将会打开网络套接字连接到网络上的计算机。
您将部署到全局程序集缓存的类库,并为其授予完全信任。
您编写以下代码,以确保使用的套接字连接。
SocketPermission permission = new SocketPermission(PermissionState.Unrestricted); permission.Assert();
一些使用类库的应用程序可能没有打开网络套接字连接所需的权限。
您需要取消断言。

A . CodeAccessPermission.RevertAssert();
B . CodeAccessPermission.RevertDeny();
C . Permission.Deny();
D . Permission.PermitDeny();

I-R分析框架(全球一体化――国家响应性分析框架) 在一个关系R中,若X能够函数决定关系R中的每个属性,并且X的任何真子集都不能函数决定R中的每个属性,则称()为关系R的一个()。 You have a Windows Server 2008 R2 that has the Active Directory Certificate Services server  role installed.   You need to minimize the amount of time it takes for client computers to download a certificate  revocation list (CRL).     What should you do() Install and configure an Online Responder.。 Install and configure an additional domain controller.。 Import the Root CA certificate into the Trusted Root Certification Authorities store on all client workstations.。 Import the Issuing CA certificate into the Trusted Root Certification Authorities store on all client workstations.。 You need to design a remote administration solution for servers on the internal network. Your solution must meet business and security requirements. What should you do?() Permit administrators to use an HTTP interface to manage servers remotely。 Permit only administrators to connect to the servers’ Telnet service。 Permit administrators to manage the servers by using Microsoft NetMeeting。 Require administrators to use Remote Desktop for Administration connections to manage the server。 在集装箱运输中,能够实现“门到门”运输的集装箱货物交接方式是()。 LCL/LCL。 FCL/FCL。 LCL/FCL。 FCL/LC。

您正在开发一个类库,将会打开网络套接字连接到网络上的计算机。
您将部署到全局程序集缓存的类库,并为其授予完全信任。
您编写以下代码,以确保使用的套接字连接。
SocketPermission permission = new SocketPermission(PermissionState.Unrestricted); permission.Assert();
一些使用类库的应用程序可能没有打开网络套接字连接所需的权限。
您需要取消断言。

参考答案:

  参考解析

若要撤消以前的Assert调用,应使用CodeAccessPermission.RevertAssert()。

在线 客服