IRetryPolicyAdapter.AdaptExecuteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AdaptExecuteAsync(Func<Task>) | |
AdaptExecuteAsync<TResult>(Func<Task<TResult>>) |
AdaptExecuteAsync(Func<Task>)
public Func<System.Threading.Tasks.Task> AdaptExecuteAsync (Func<System.Threading.Tasks.Task> taskFunc);
abstract member AdaptExecuteAsync : Func<System.Threading.Tasks.Task> -> Func<System.Threading.Tasks.Task>
Public Function AdaptExecuteAsync (taskFunc As Func(Of Task)) As Func(Of Task)
Parameters
Returns
Applies to
AdaptExecuteAsync<TResult>(Func<Task<TResult>>)
public Func<System.Threading.Tasks.Task<TResult>> AdaptExecuteAsync<TResult> (Func<System.Threading.Tasks.Task<TResult>> taskFunc);
abstract member AdaptExecuteAsync : Func<System.Threading.Tasks.Task<'Result>> -> Func<System.Threading.Tasks.Task<'Result>>
Public Function AdaptExecuteAsync(Of TResult) (taskFunc As Func(Of Task(Of TResult))) As Func(Of Task(Of TResult))
Type Parameters
- TResult