WCF Service Retry <p>I'm trying to figure out if there is an easy way implementing a retry to the service when it sends a fault. lets say for eg:</p> <pre><code>Private Function SaveEmployee(emp as Empoyee) Try ... returnval = service.SaveEmployee(emp) Catch ex as exception 'if exception requires retry eg:end point not found or database is not responding then 'call retry func/class RetryOperation(...) End Try End Function </code></pre> <p>in the above sample how can I make a generic RetryOperation class which can take any function and call it 3 or 4 times with an interval before informing the user that the operation cannot be completed.</p> <p>I'm hoping it's possible to make a generic method rather than have duplicate code in all the service call functions</p> <p>any samples in C# or vb.net will be really appreciated.</p> <p>Thanks</p>