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 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.