docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NoRetriesPolicy

    A retry policy that does not allow any retries.

    Inheritance
    object
    NoRetriesPolicy
    Implements
    IRetryPolicy
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Purchasing
    Assembly: Unity.Purchasing.dll
    Syntax
    public class NoRetriesPolicy : IRetryPolicy

    Methods

    ShouldRetry(IRetryPolicyInformation)

    Determines whether the retry policy should allow another attempt.

    Declaration
    public virtual Task<bool> ShouldRetry(IRetryPolicyInformation info)
    Parameters
    Type Name Description
    IRetryPolicyInformation info

    The information about the retry attempt.

    Returns
    Type Description
    Task<bool>

    Always returns false.

    Implements

    IRetryPolicy
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)