Recently, our .Net client libaray is upgrading to compile against Net 4.0.
After change the target framework to 4.0, the application has some compilation error.
In the .NET Framework version 4, runtime support has been removed for enforcing the Deny, RequestMinimum, RequestOptional, and RequestRefuse permission requests. These requests should not be used in code that is based on .NET Framework 4 or later.