PostSharp SDK 6.8 / / Class Reference / Post­Sharp.​Sdk.​Utilities Namespace / Retry­File­Operation Class

RetryFileOperation Class

[Missing <summary> documentation for "T:PostSharp.Sdk.Utilities.RetryFileOperation"]

Inheritance Hierarchy
System.Object
  PostSharp.Sdk.Utilities.RetryFileOperation

Namespace:  PostSharp.Sdk.Utilities
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public static class RetryFileOperation
Methods
  NameDescription
Public methodStatic memberRun(String, Action, FileAccess)
Retries many times, up to the time limit of TIMEOUT, to do action, retrying if that operation fails because targetFileName is locked.
Public methodStatic memberRun<T>(String, Func<T>, FileAccess)
Retries many times, up to the time limit of TIMEOUT, to do action, retrying if that operation fails because targetFileName is locked.
See Also