Search Results for

    Show / Hide Table of Contents
    View Source

    Class RetryingEventArgs

    Contains information required for the Retrying event.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.Persistence.FaultHandling
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class RetryingEventArgs : EventArgs

    Constructors

    View Source

    RetryingEventArgs(Int32, TimeSpan, Exception)

    Initializes a new instance of the RetryingEventArgs class.

    Declaration
    public RetryingEventArgs(int currentRetryCount, TimeSpan delay, Exception lastException)
    Parameters
    Type Name Description
    System.Int32 currentRetryCount

    The current retry attempt count.

    TimeSpan delay

    The delay indicating how long the current thread will be suspended for before the next iteration will be invoked.

    Exception lastException

    The exception which caused the retry conditions to occur.

    Properties

    View Source

    CurrentRetryCount

    Gets the current retry count.

    Declaration
    public int CurrentRetryCount { get; }
    Property Value
    Type Description
    System.Int32
    View Source

    Delay

    Gets the delay indicating how long the current thread will be suspended for before the next iteration will be invoked.

    Declaration
    public TimeSpan Delay { get; }
    Property Value
    Type Description
    TimeSpan
    View Source

    LastException

    Gets the exception which caused the retry conditions to occur.

    Declaration
    public Exception LastException { get; }
    Property Value
    Type Description
    Exception
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • RetryingEventArgs(Int32, TimeSpan, Exception)
    • Properties
      • CurrentRetryCount
      • Delay
      • LastException
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX