移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

计算机考试 | 微软认证考试

科目:

MCPD

[切换]
题库
练习
考试
资讯

模式切换

0 0 0
我的错题 我的收藏 学习笔记

单选题 您正在开发一种调用COM组件的方法。您需要使用声明性安全来显式请求运行库执行完整的堆栈遍历。您必须确保调用方执行您的方法前所有调用方拥有所需的COM interop的信任级别.为此应该放置哪一个方法的属性?()

A

[SecurityPermission(SecurityAction.Demand,Flags=SecurityPermissionFlag.UnmanagedCode)]

B

[SecurityPermission(SecurityAction.LinkDemand,Flags=SecurityPermissionFlag.UnmanagedCode)]

C

[SecurityPermission(SecurityAction.Assert,Flags = SecurityPermissionFlag.UnmanagedCode)]

D

[SecurityPermission(SecurityAction.Deny,Flags = SecurityPermissionFlag.UnmanagedCode)]

单选题 为应用程序开发人员上班Certkiller.com。 您需要修改应用程序的代码。 应用程序使用两个线程命名线程A和线程B.要完成执行之前线程开始执行线程B。 您将如何完成这项任务?()

A

定义线程A在较低的优先级运行。

B

定义线程B在更高的优先级运行。

C

执行WaitCallback委托来同步线程。

D

调用线程A睡眠的方法

E

调用线程A自旋锁的方法

单选题 Your application uses two threads, named threadOne and threadTwo. You need to modify the code to prevent the execution of threadOne until threadTwo completes execution. What should you do?()

A

 Configure threadOne to run at a lower priority.

B

 Configure threadTwo to run at a higher priority.

C

 Use a WaitCallback delegate to synchronize the threads.

D

 Call the Sleep method of threadOne. 

E

 Call the SpinLock method of threadOne.

最新资讯

首页 上一页 1 2 3 4 5 尾页 /

到第