NoRetry NoRetry Class

Definition

Represents a retry policy that performs no retries.

public sealed class NoRetry : RetryPolicyPublic NotInheritable Class NoRetry
    Inherits RetryPolicy
Inheritance

Inherited Members

Microsoft.ServiceBus.RetryPolicy

System.Object

Methods

Clone() Clone()

Creates a copy of this instance.

public override RetryPolicy Clone()Public Overrides Function Clone As RetryPolicy
Returns

The created copy of this instance.

Overrides

IsRetryableException(Exception) IsRetryableException(Exception)

protected override bool IsRetryableException(Exception lastException)Protected Overrides Function IsRetryableException(lastException As Exception) As Boolean
Parameters
lastException
Exception Exception
Returns
Overrides

OnShouldRetry(TimeSpan, Int32, out TimeSpan) OnShouldRetry(TimeSpan, Int32, ByRef TimeSpan)

protected override bool OnShouldRetry(TimeSpan remainingTime, int currentRetryCount, out TimeSpan retryInterval)Protected Overrides Function OnShouldRetry(remainingTime As TimeSpan, currentRetryCount As Integer, ByRef retryInterval As TimeSpan) As Boolean
Parameters
remainingTime
TimeSpan TimeSpan
currentRetryCount
Int32 Int32
retryInterval
TimeSpan TimeSpan
Returns
Overrides

ResetServerBusyInternal() ResetServerBusyInternal()

protected override void ResetServerBusyInternal()Protected Overrides Sub ResetServerBusyInternal
Overrides

SetServerBusyInternal() SetServerBusyInternal()

protected override void SetServerBusyInternal()Protected Overrides Sub SetServerBusyInternal
Overrides