[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eIBackOff\u003c/code\u003e interface in the \u003ccode\u003eGoogle.Apis.Util\u003c/code\u003e namespace provides a strategy to manage back-off periods between retry attempts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMaxNumOfRetries\u003c/code\u003e property of the \u003ccode\u003eIBackOff\u003c/code\u003e interface determines the maximum number of retries allowed, returning an integer value.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetNextBackOff(int)\u003c/code\u003e method calculates the waiting time before the next retry, returning \u003ccode\u003eTimeSpan.MinValue\u003c/code\u003e if the maximum number of retries has been reached.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIBackOff\u003c/code\u003e interface is available in various versions of the Google.Apis library, with the latest being version 1.69.0.\u003c/p\u003e\n"],["\u003cp\u003eThe assembly that houses this interface is \u003ccode\u003eGoogle.Apis.Core.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Interface IBackOff (1.69.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.69.0 (latest)](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.IBackOff)\n- [1.68.0](/dotnet/docs/reference/Google.Apis/1.68.0/Google.Apis.Util.IBackOff)\n- [1.60.0](/dotnet/docs/reference/Google.Apis/1.60.0/Google.Apis.Util.IBackOff)\n- [1.59.0](/dotnet/docs/reference/Google.Apis/1.59.0/Google.Apis.Util.IBackOff)\n- [1.55.0](/dotnet/docs/reference/Google.Apis/1.55.0/Google.Apis.Util.IBackOff)\n- [1.50.0](/dotnet/docs/reference/Google.Apis/1.50.0/Google.Apis.Util.IBackOff) \n\n public interface IBackOff\n\nStrategy interface to control back-off between retry attempts.\n\nNamespace\n---------\n\n[Google.Apis.Util](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util)\n\nAssembly\n--------\n\nGoogle.Apis.Core.dll\n\nProperties\n----------\n\n### MaxNumOfRetries\n\n int MaxNumOfRetries { get; }\n\nGets the maximum number of retries.\n\nMethods\n-------\n\n### GetNextBackOff(int)\n\n TimeSpan GetNextBackOff(int currentRetry)\n\nGets the a time span to wait before next retry. If the current retry reached the maximum number of retries,\nthe returned value is [MinValue](https://learn.microsoft.com/dotnet/api/system.timespan.minvalue).\n\nExtension Method\n----------------\n\n[Utilities.ThrowIfNull\\\u003cT\\\u003e(T, string)](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.Utilities#Google_Apis_Util_Utilities_ThrowIfNull__1___0_System_String_)"]]