Specifies the default partial-trust visibility for code that is marked with the AllowPartiallyTrustedCallersAttribute (APTCA) attribute.
Assembly: mscorlib (in mscorlib.dll)
The assembly has been audited for partial trust, but it is not visible to partial-trust code in all hosts. To make the assembly visible to partial-trust code, add it to the AppDomainSetup.PartialTrustVisibleAssemblies property.
The assembly can always be called by partial-trust code.
AllowPartiallyTrustedCallersAttribute.AllowPartiallyTrustedCallersAttribute constructor. If no parameter is passed to the constructor, the default is .is passed as a property setting parameter to the
You enable partially trusted assemblies that are identified as PartialTrustVisibleAssemblies property of their application domain. If you enable an assembly that references (directly or indirectly) other partially trusted assemblies that are , those other assemblies should be enabled as well.by adding them to the
When an APTCA library that specifies aand that is eligible for code sharing is loaded for the first time, it is loaded into the shared domain. Whenever that assembly is loaded with the same into another domain, it will be shared. However, if the assembly is loaded with a different , it will not be shared.
Available since 4.0