IRetrieveExceptionBehavior interface

namespace: Serenity.Services   assemblySerenity.Net.Services

This is an extension for retrieve behaviors that should be called for exceptions that occur during retrieve. It could be useful to preview the exception and raise another exception for JSON serialization errors etc.

public interface IRetrieveExceptionBehavior

Members

name description
OnException(…) Called when an exception occurs during retrieve

See Also