Cuemon .NET Framework
ExecuteFunction Method (TransientFaultUtility)

Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.
Overload List
OverloadDescription
ExecuteFunction<TResult>(Doer<Exception,Boolean>,Doer<TResult>)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<TResult>(Int32,Doer<Exception,Boolean>,Doer<TResult>)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<T,TResult>(Doer<Exception,Boolean>,Doer<T,TResult>,T)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<T,TResult>(Int32,Doer<Exception,Boolean>,Doer<T,TResult>,T)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<T1,T2,TResult>(Doer<Exception,Boolean>,Doer<T1,T2,TResult>,T1,T2)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<T1,T2,TResult>(Int32,Doer<Exception,Boolean>,Doer<T1,T2,TResult>,T1,T2)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<T1,T2,T3,TResult>(Doer<Exception,Boolean>,Doer<T1,T2,T3,TResult>,T1,T2,T3)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<T1,T2,T3,TResult>(Int32,Doer<Exception,Boolean>,Doer<T1,T2,T3,TResult>,T1,T2,T3)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<T1,T2,T3,T4,TResult>(Doer<Exception,Boolean>,Doer<T1,T2,T3,T4,TResult>,T1,T2,T3,T4)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<T1,T2,T3,T4,TResult>(Int32,Doer<Exception,Boolean>,Doer<T1,T2,T3,T4,TResult>,T1,T2,T3,T4)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<T1,T2,T3,T4,T5,TResult>(Doer<Exception,Boolean>,Doer<T1,T2,T3,T4,T5,TResult>,T1,T2,T3,T4,T5)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<T1,T2,T3,T4,T5,TResult>(Int32,Doer<Exception,Boolean>,Doer<T1,T2,T3,T4,T5,TResult>,T1,T2,T3,T4,T5)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<TResult>(Int32,Doer<Int32,TimeSpan>,Doer<Exception,Boolean>,Doer<TResult>)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<T,TResult>(Int32,Doer<Int32,TimeSpan>,Doer<Exception,Boolean>,Doer<T,TResult>,T)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<T1,T2,TResult>(Int32,Doer<Int32,TimeSpan>,Doer<Exception,Boolean>,Doer<T1,T2,TResult>,T1,T2)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<T1,T2,T3,TResult>(Int32,Doer<Int32,TimeSpan>,Doer<Exception,Boolean>,Doer<T1,T2,T3,TResult>,T1,T2,T3)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<T1,T2,T3,T4,TResult>(Int32,Doer<Int32,TimeSpan>,Doer<Exception,Boolean>,Doer<T1,T2,T3,T4,TResult>,T1,T2,T3,T4)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
ExecuteFunction<T1,T2,T3,T4,T5,TResult>(Int32,Doer<Int32,TimeSpan>,Doer<Exception,Boolean>,Doer<T1,T2,T3,T4,T5,TResult>,T1,T2,T3,T4,T5)Repetitively executes the specified faultSensitiveMethod until the operation is successful, the amount of retry attempts has been reached, or a failed operation is not considered related to transient fault condition.  
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TransientFaultUtility Class
TransientFaultUtility Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback