docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AggregateRetryPolicy

    An aggregate retry policy that combines multiple retry policies into one.

    Inheritance
    object
    AggregateRetryPolicy
    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 AggregateRetryPolicy : IRetryPolicy

    Constructors

    AggregateRetryPolicy(List<IRetryPolicy>)

    Constructs an AggregateRetryPolicy with a list of retry policies.

    Declaration
    public AggregateRetryPolicy(List<IRetryPolicy> retryPolicies)
    Parameters
    Type Name Description
    List<IRetryPolicy> retryPolicies

    The list of retry policies to aggregate.

    AggregateRetryPolicy(params IRetryPolicy[])

    Constructs an AggregateRetryPolicy with a variable number of retry policies.

    Declaration
    public AggregateRetryPolicy(params IRetryPolicy[] retryPolicies)
    Parameters
    Type Name Description
    IRetryPolicy[] retryPolicies

    The retry policies to aggregate.

    Methods

    ShouldRetry(IRetryPolicyInformation)

    Determines whether the operation should be retried based on the provided retry policy information.

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

    The information about the retry policy.

    Returns
    Type Description
    Task<bool>

    True if the operation should be retried, otherwise 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)