June 2003
Intermediate to advanced
714 pages
22h 8m
English
PolicyException
public class PolicyException : SystemException { // Public Constructors public PolicyException( ); public PolicyException(stringmessage); public PolicyException(stringmessage, Exceptionexception); // Protected Constructors protected PolicyException(System.Runtime.Serialization.SerializationInfoinfo, System.Runtime.Serialization.StreamingContextcontext); }
This exception is thrown when the runtime encounters problems processing or applying security policy—for example, when code attempts to set an application domain’s policy that has already been set or when the minimum permission requests of an assembly cannot be fulfilled by the runtime.
System.Object
→
System.Exception(System.Runtime.Serialization.ISerializable)
→
System.SystemException
→
PolicyException