|
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.275-beta+6cd8c2deb04a1aae6d4ac315ff222aabe4b2a6dd
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