public static MessageStatus RunUnderExceptionHandler(IMessageConverter converter, StoreDriverDelegate workerFunction) { if (StorageExceptionHandler.MailboxTransportTableBasedExceptionHandlerEnabled) { return(StorageExceptionHandler.RunUnderTableBasedExceptionHandler(converter, workerFunction)); } return(StorageExceptionHandler.RunUnderExplicitExceptionHandler(converter, workerFunction)); }