public Task InitializeNewActionAsync(ActionStateBase actionState, TimeSpan timeout) { return(FaultAnalysisServiceUtility.RetryOnTimeout( actionState.OperationId, () => this.InitializeNewActionInnerAsync(actionState), timeout, this.cancellationToken)); }
public Task <ActionStateBase> ProcessGetProgressAsync(Guid operationId, TimeSpan timeout, CancellationToken cancellationToken) { return(FaultAnalysisServiceUtility.RetryOnTimeout( operationId, () => this.actionStore.FindByOperationIdAsync(operationId, cancellationToken), timeout, cancellationToken)); }