Name
PolicyException
Synopsis
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.
Hierarchy
System.Object
→
System.Exception(System.Runtime.Serialization.ISerializable)
→
System.SystemException
→
PolicyException
Get Programming .NET Security now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.