Click or drag to resize

IOUtilitiesWrapSharingViolations Method (Action, IOUtilitiesWrapSharingViolationsExceptionsCallback, Int32, Int32)

Calls IO code under a sharing violations handling system.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static void WrapSharingViolations(
	Action action,
	IOUtilitiesWrapSharingViolationsExceptionsCallback exceptionsCallback = null,
	int maxRetryCount = 10,
	int waitTime = 100
)

Parameters

action
Type: SystemAction
The action.
exceptionsCallback (Optional)
Type: ShellBoost.Core.UtilitiesIOUtilitiesWrapSharingViolationsExceptionsCallback
The exceptions callback.
maxRetryCount (Optional)
Type: SystemInt32
The maximum retry count.
waitTime (Optional)
Type: SystemInt32
The wait time.
Exceptions
ExceptionCondition
ArgumentNullExceptionaction is null.
See Also