|
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.251-beta+c370f3da3791592278238855631f53a5ff418c68
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