[This is preliminary documentation and subject to change.]
Gets the exception that was raised while attempting to create an instance of the object identified by the AssemblyQualifiedTypeName.
The exception reference.
The AuthorizationPolicyLoader creates objects in two phases:
First it calls the CreateInstance method. If the method returns a valid object, it continues loading the next policy object. If the method raises an exception, the exception is stored in this Exception property and the AuthorizationPolicyLoader calls the CreateFallbackInstance method passing it the IPolicyLoaderContext reference with the Exception property set to the exception.
This allows IPolicyLoaderTypeResolver implementation to create "fallback" (substitute) objects for types that aren't available to the Design Environment.
IPolicyLoaderContext Interface | LaMarvin.Constable.Design Namespace