Constable Authorization Engine 2.0 BETA

IPolicyLoaderTypeResolver.CreateFallbackInstance Method 

[This is preliminary documentation and subject to change.]

The implementation should create an instance of an available type because the AssemblyQualifiedTypeName isn't available.

[Visual Basic]
Function CreateFallbackInstance( _
   ByVal context As IPolicyLoaderContext _
) As Object
[C#]
object CreateFallbackInstance(
   IPolicyLoaderContext context
);

Parameters

context
The loader context.

Return Value

A reference to a new object created using the context information.

Remarks

This method is called by the AuthorizationPolicyLoader if the previous CreateInstance call with the same context generated an exception or returned a null reference (Nothing in Visual Basic). The implementation should create an instance of the BaseType and not the TypeName, because it isn't available.

See Also

IPolicyLoaderTypeResolver Interface | LaMarvin.Constable.Design Namespace