Is there any way I can pass the triedCount in TryGetValue() function to write some logic within the function if the retry is higher then 3 or something.
TryGetValue(int triedCount)
{
if (triedCount > 3)
{
// get data from another backup region
}
else
{
// get data from default region
}
}
Is there any way I can pass the triedCount in TryGetValue() function to write some logic within the function if the retry is higher then 3 or something.