Skip to content

How to get number of triedCount in TryGetValue() function #8

Description

@vickyRathee

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
            }
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions