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

问题:

[单选]

You are developing a class library that will open the network socket connections to computers on the network. You will deploy the class library to the global assembly cache and grant it full trust. You write the following code to ensure usage of the socket connections. 
SocketPermission permission =  
new SocketPermission(PermissionState.Unrestricted); 
permission.Assert();
Some of the applications that use the class library might not have the necessary permissions to open the network socket connections.You need to cancel the assertion.
Which code segment should you use?()

A . CodeAccessPermission.RevertAssert();
B . CodeAccessPermission.RevertDeny();
C . permission.Deny();
D . permission.PermitOnly();

将通道载入选区可以按下下列的哪个键单击?() 【Ctrl】。 【Shift】。 【Tab】。 【Alt】。 Your company has a server named Server1 that runs Windows Server 2008 R2. The Windows Server Backup feature is installed on Server1.Server1 fails. You install a new server named Server2 that runs Windows Server 2008 R2.You need to restore the company¯ Windows SharePoint Services (WSS) site to Server2. What should you do?() Use Wbadmin to restore the system state from backup.。 Run Wbadmin with the Get Versions option. Install WSS.。 Run Wbadmin with the Start Recovery option. Install WSS.。 Use Wbadmin to restore the application and the sites from backup.。 你正在定义个一叫做Certkiller的类,这个类包含如下内容. Certkiller类包含一个可以再对象上执行的叫做ProcessChildren的方法。 Cerkiller类的对象可以被序列化() Apply the OnDeserializing attribute to the ProcessChildren method.。 Specify that Certkiller Class implements the IDeserializationCallback interface.。 Specify that Certkiller Class inherits from the ObjectManager class.。 Apply the OnSerialized attribute to the ProcessChildren method.。 Create a GetObjectData method that calls ProcessChildren.。 Create an OnDeserialization method that calls ProcessChildren.。 Photoshop中当前图像中存在一个选区,按【Alt】键单击添加蒙版按钮,与不按【Alt】键单击添加蒙版按钮,其区别是下列哪一项所描述的?()  蒙版恰好是反相的关系。  没有区别。  前者无法创建蒙版,而后能够创建蒙版。  前者在创建蒙版后选区仍然存在,而后者在创建蒙版后选区不再存在。 计算机中最重要的核心部件是()。 DRAM。 CPU。 CRT。 ROM。

You are developing a class library that will open the network socket connections to computers on the network. You will deploy the class library to the global assembly cache and grant it full trust. You write the following code to ensure usage of the socket connections. 
SocketPermission permission =  
new SocketPermission(PermissionState.Unrestricted); 
permission.Assert();
Some of the applications that use the class library might not have the necessary permissions to open the network socket connections.You need to cancel the assertion.
Which code segment should you use?()

参考答案:

  参考解析

本题暂无解析

在线 客服