Click or drag to resize

IOUtilities.WrapSharingViolationsExceptionsCallbackAsync<T> 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
C#
public delegate Task<bool> WrapSharingViolationsExceptionsCallbackAsync<T>(
	Exception exception,
	int retryCount,
	int maxRetryCount,
	int waitTime,
	out Task<T> task
)

Parameters

exception
Type: System.Exception
The exception.
retryCount
Type: System.Int32
The retry count.
maxRetryCount
Type: System.Int32
The maximum retry count.
waitTime
Type: System.Int32
The wait time.
task
Type: System.Threading.Tasks.Task<T>
The task.

Type Parameters

T
The return type.

Return Value

Type: Task<Boolean>
true if the method must stop the retry loop, false otherwise.
See Also