IOUtilitiesWrapSharingViolationsExceptionsCallbackAsyncT Delegate |
Represents the method that handles sharing violation exception calls.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public delegate Task<bool> WrapSharingViolationsExceptionsCallbackAsync<T>(
Exception exception,
int retryCount,
int maxRetryCount,
int waitTime,
out Task<T> task
)
Parameters
- exception
- Type: SystemException
The exception. - retryCount
- Type: SystemInt32
The retry count. - maxRetryCount
- Type: SystemInt32
The maximum retry count. - waitTime
- Type: SystemInt32
The wait time. - task
- Type: System.Threading.TasksTaskT
The task.
Type Parameters
- T
- The return type.
Return Value
Type:
TaskBooleantrue if the method must stop the retry loop,
false otherwise.
See Also