|
TableOperationsTExceptionHandler Property
|
Gets or sets delegate used to handle table operation exceptions.
Namespace: GSF.Data.ModelAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
Syntaxpublic Action<Exception> ExceptionHandler { get; set; }
Public Property ExceptionHandler As Action(Of Exception)
Get
Set
public:
virtual property Action<Exception^>^ ExceptionHandler {
Action<Exception^>^ get () sealed;
void set (Action<Exception^>^ value) sealed;
}
abstract ExceptionHandler : Action<Exception> with get, set
override ExceptionHandler : Action<Exception> with get, set
function get_ExceptionHandler();
function set_ExceptionHandler(value);
View SourceProperty Value
ActionExceptionImplements
ITableOperationsExceptionHandler
Remarks
When exception handler is provided, table operations will not throw exceptions for database calls, any
encountered exceptions will be passed to handler for processing. Otherwise, exceptions will be thrown
on the call stack.
See Also