[[["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-03-21 UTC."],[[["This page documents the `ServiceControllerLimitedErrorCountRetryPolicy` class, which provides a retry mechanism for `ServiceControllerConnection` based on counting errors."],["The retry policy stops if a non-transient error occurs or if the number of transient failures exceeds a specified maximum."],["The class constructor `ServiceControllerLimitedErrorCountRetryPolicy(int)` allows users to define the maximum number of transient errors tolerated before retries cease, where a `maximum_failures` value of 0 disables the retry loop."],["The transient failure `kUnavailable` is the only status code being treated as a retryable failure."],["The class includes methods to determine if the retry policy is exhausted `IsExhausted()`, if a failure is permanent `IsPermanentFailure(Status const &) const`, obtain the maximum failures `maximum_failures() const`, and create a new instance of the policy in its original state `clone() const`."]]],[]]