试题详情
- 单项选择题您正在开发一种调用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
关注下方微信公众号,在线模考后查看
热门试题
- You use Microsoft .
- You are creating a
- You are the adminis
- You create&ens
- You manage a server
- You create a mobile
- You are the network
- Your Windows&e
- You are t
- Your network&e
- You work
- 您有一台运行 Windows
- You are the network
- You have
- Your company&e
- Your network&e
- You are t
- Your network&e
- 你有一个包含几个终端服务器的终端服务场。
- You are t