Establishes the security policy level for this application domain.
domainPolicy The security policy level.
Call this method before an assembly is loaded into the AppDomain in order for the security policy to have effect.