可学答题网 > 问答 > MCPD(70-511)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You use Microsoft .NET Framework 4 to


You use Microsoft .NET Framework 4 to create an application.   The application contains a partially trusted client assembly and a server assembly.  You create a custom sandboxed application domain.   You need to ensure that the application can be executed in a partial-trust environment.  What should you do?()

  • A Apply the following attribute to the server assembly. [assembly: AllowPartiallyTrustedCallers(PartialTrustVisibilityLevel=VisibleToAllHosts)]
  • B Apply the following attribute to the server assembly. [assembly: AllowPartiallyTrustedCallers(PartialTrustVisibilityLevel=NotVisibleByDefault)]
  • C Apply the following attribute to the client assembly. [assembly: AllowPartiallyTrustedCallers(PartialTrustVisibilityLevel=VisibleToAllHosts)]
  • D Apply the following attribute to the client assembly. [assembly: AllowPartiallyTrustedCallers(PartialTrustVisibilityLevel=NotVisibleByDefault)]
参考答案
参考解析:
分类:MCPD(70-511)题库
相关推荐

1、You use Microsoft .NET Framework 4 to

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.The application displays a list of books.You wri...

2、You use Microsoft .NET Framework 4 to

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.You add a property named ServiceContext to a co...

3、You use Microsoft .NET Framework 4 to

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.The application has multiple data entry windows....

4、You use Microsoft .NET Framework 4 to

You use Microsoft .NET Framework 4 to create a Windows Forms application.You plan to use a Windows Presentation Foundation (WPF) control of the...

5、You use Microsoft .NET Framework 4 to

You use Microsoft .NET Framework 4 to create a custom Windows Presentation Foundation (WPF) application.Your environment includes several WPF appl...

6、You use Microsoft .NET Framework 4 to

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.You write the following code fragment. (Line num...