您正在开发一种调用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)]
相关问题推荐
-
用于乳腺检查的影像学技术通常不包括()
A、超声
B、MRI
C、红外线
D、核医学
E、钼靶X线摄影
-
You have a customized image of Windows 7 Professional. You mount the image and modify the contents ofthe image. You need to restore the image to its original state. Which tool should you use?()
A、Dism.exe.
B、Ocsetup.exe.
C、Pkgmgr.exe.
D、Sysprep.exe.
-
关于一氧化碳中毒的MR诊断,错误的是()
A、为吸入一氧化碳导致的严重脑损伤
B、主要累及脑灰质结构,结合病史较容易作出诊断
C、异常信号主要发生于基底节及枕叶皮层
D、病灶T1WI呈低信号,T2WI呈高信号
E、病灶多为单侧
-
RAIDDP最多允许多少块硬盘同时损坏,而且不影响数据()。
A、1
B、2
C、3
D、4
-
最常见的恶性骨肿瘤是()
A、尤文氏肉瘤
B、骨肉瘤
C、软骨肉瘤
D、恶性骨母细胞瘤
E、骨旁骨肉瘤