PrepAway - Latest Free Exam Questions & Answers

What should you do?

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 partialtrust environment. What should you do?

PrepAway - Latest Free Exam Questions & Answers

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)>


Leave a Reply