|
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.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
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