Megosztás a következőn keresztül:


RetryingEventArgs Constructor (Int32, TimeSpan, Exception)

 

Initializes a new instance of the RetryingEventArgs class.

Namespace:   Microsoft.WindowsAzure.Common.TransientFaultHandling
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Syntax

public RetryingEventArgs(
    int currentRetryCount,
    TimeSpan delay,
    Exception lastException
)
public:
RetryingEventArgs(
    int currentRetryCount,
    TimeSpan delay,
    Exception^ lastException
)
new : 
        currentRetryCount:int *
        delay:TimeSpan *
        lastException:Exception -> RetryingEventArgs
Public Sub New (
    currentRetryCount As Integer,
    delay As TimeSpan,
    lastException As Exception
)

Parameters

  • currentRetryCount
    Type: System.Int32

    The current retry attempt count.

  • delay
    Type: System.TimeSpan

    The delay that indicates how long the current thread will be suspended before the next iteration is invoked.

  • lastException
    Type: System.Exception

    The exception that caused the retry conditions to occur.

See Also

RetryingEventArgs Class
Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace

Return to top