PolicyException

PolicyExceptionserializable

System.Security.Policy (mscorlib.dll)class
public class PolicyException : SystemException {
// Public Constructors
   public PolicyException(  );
   public PolicyException(string message);
   public PolicyException(string message, Exception exception);
// Protected Constructors
   protected PolicyException(System.Runtime.Serialization.SerializationInfo info, 
        System.Runtime.Serialization.StreamingContext context);
}

This exception is thrown when the runtime encounters problems processing or applying security policyfor 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.

Hierarchy

System.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException PolicyException



    Part V: API Quick Reference