Microsoft.Practices.TransientFaultHandling.Core Handles the execution and retries of the user initiated task. The result type of the user initiated task. Provides a wrapper of a non generic and calls in to the pipeline for retrying that supports only the generic verion of . Wraps the non generic into a generic . The task to wrap. Returns a that wraps the non generic . Implements the common guard methods. Checks a string argument to ensure it isn't null or empty. The argument value to check. The name of the argument. The return value should be ignored. It is intended to be used only when validating arguments during instance creation (e.g. when calling base constructor). Checks an argument to ensure it isn't null. The argument value to check. The name of the argument. /// The return value should be ignored. It is intended to be used only when validating arguments during instance creation (e.g. when calling base constructor). Checks an argument to ensure that its value is not the default value for its type. The type of the argument. The value of the argument. The name of the argument for diagnostic purposes. Checks an argument to ensure that its value is not zero or negative. The value of the argument. The name of the argument for diagnostic purposes. Checks an argument to ensure that its value is not negative. The value of the argument. The name of the argument for diagnostic purposes. Checks an argument to ensure that its value is not negative. The value of the argument. The name of the argument for diagnostic purposes. Checks an argument to ensure that its value doesn't exceed the specified ceiling baseline. The value of the argument. The ceiling value of the argument. The name of the argument for diagnostic purposes. Checks an Enum argument to ensure that its value is defined by the specified Enum type. The Enum type the value should correspond to. The value to check for. The name of the argument holding the value. Verifies that an argument type is assignable from the provided type (meaning interfaces are implemented, or classes exist in the base class hierarchy). The argument type. The type it must be assignable from. The argument name. Checks the specified value to ensure that its value is defined, i.e. not null and not default value. The type of the value to be checked. The value to be checked. True if the value is defined or false if it's null or represents a default value for its type. Defines an interface which must be implemented by custom components responsible for detecting specific transient conditions. Determines whether the specified exception represents a transient failure that can be compensated by a retry. The exception object to be verified. True if the specified exception is considered as transient, otherwise false. A strongly-typed resource class, for looking up localized strings, etc. Returns the cached ResourceManager instance used by this class. Overrides the current thread's CurrentUICulture property for all resource lookups using this strongly typed resource class. Looks up a localized string similar to The specified argument {0} cannot be initialized with its default value.. Looks up a localized string similar to The specified argument {0} cannot be greater than its ceiling value of {1}.. Looks up a localized string similar to The specified argument {0} cannot be initialized with a negative value.. Looks up a localized string similar to The specified argument {0} cannot be initialized with a zero or negative value.. Looks up a localized string similar to The value of the argument {0} provided for the enumeration {1} is invalid.. Looks up a localized string similar to The action has exceeded its defined retry limit.. Looks up a localized string similar to The specified string argument {0} must not be empty.. Looks up a localized string similar to The specified argument '{0}' cannot return a null task when invoked.. Looks up a localized string similar to The specified argument '{0}' must return a scheduled task (also known as "hot" task) when invoked.. Looks up a localized string similar to The specified type {0} is not compatible with {1}.. Contains information required for the event. Initializes a new instance of the class. The current retry attempt count. The delay indicating how long the current thread will be suspended for before the next iteration will be invoked. The exception which caused the retry conditions to occur. Gets the current retry count. Gets the delay indicating how long the current thread will be suspended for before the next iteration will be invoked. Gets the exception which caused the retry conditions to occur. The special type of exception that provides managed exit from a retry loop. The user code can use this exception to notify the retry policy that no further retry attempts are required. Initializes a new instance of the class with a default error message. Initializes a new instance of the class with a specified error message. The message that describes the error. Initializes a new instance of the class with a reference to the inner exception that is the cause of this exception. The exception that is the cause of the current exception. Initializes a new instance of the class. The message that describes the error. The exception that is the cause of the current exception. Initializes a new instance of the class. The that holds the serialized object data about the exception being thrown. The that contains contextual information about the source or destination. The parameter is null. The class name is null or is zero (0). Provides the base implementation of the retry mechanism for unreliable actions and transient conditions. Returns a default policy that does no retries, it just invokes action exactly once. Returns a default policy that implements a fixed retry interval configured with the default retry strategy. The default retry policy treats all caught exceptions as transient errors. Returns a default policy that implements a progressive retry interval configured with the default retry strategy. The default retry policy treats all caught exceptions as transient errors. Returns a default policy that implements a random exponential retry interval configured with the default retry strategy. The default retry policy treats all caught exceptions as transient errors. Initializes a new instance of the RetryPolicy class with the specified number of retry attempts and parameters defining the progressive delay between retries. The that is responsible for detecting transient conditions. The retry strategy to use for this retry policy. Initializes a new instance of the RetryPolicy class with the specified number of retry attempts and default fixed time interval between retries. The that is responsible for detecting transient conditions. The number of retry attempts. Initializes a new instance of the RetryPolicy class with the specified number of retry attempts and fixed time interval between retries. The that is responsible for detecting transient conditions. The number of retry attempts. The interval between retries. Initializes a new instance of the RetryPolicy class with the specified number of retry attempts and back-off parameters for calculating the exponential delay between retries. The that is responsible for detecting transient conditions. The number of retry attempts. The minimum back-off time. The maximum back-off time. The time value that will be used for calculating a random delta in the exponential delay between retries. Initializes a new instance of the RetryPolicy class with the specified number of retry attempts and parameters defining the progressive delay between retries. The that is responsible for detecting transient conditions. The number of retry attempts. The initial interval that will apply for the first retry. The incremental time value that will be used for calculating the progressive delay between retries. Repetitively executes the specified action while it satisfies the current retry policy. A delegate representing the executable action which doesn't return any results. Repetitively executes the specified action while it satisfies the current retry policy. The type of result expected from the executable action. A delegate representing the executable action which returns the result of type R. The result from the action. Repetitively executes the specified asynchronous task while it satisfies the current retry policy. A function that returns a started task (also refered as "hot" task). Returns a task that will run to completion if the original task completes successfully (either the first time or after retrying transient failures). If the task fails with a non-transient error or the retry limit is reached, the returned task will become faulted and the exception must be observed. Repetitively executes the specified asynchronous task while it satisfies the current retry policy. A function that returns a started task (also refered as "hot" task). To cancel the retry operation, but not operations that are already in flight or that already completed successfully. Returns a task that will run to completion if the original task completes successfully (either the first time or after retrying transient failures). If the task fails with a non-transient error or the retry limit is reached, the returned task will become faulted and the exception must be observed. Repeatedly executes the specified asynchronous task while it satisfies the current retry policy. A function that returns a started task (also refered as "hot" task). Returns a task that will run to completion if the original task completes successfully (either the first time or after retrying transient failures). If the task fails with a non-transient error or the retry limit is reached, the returned task will become faulted and the exception must be observed. Repeatedly executes the specified asynchronous task while it satisfies the current retry policy. A function that returns a started task (also refered as "hot" task). To cancel the retry operation, but not operations that are already in flight or that already completed successfully. Returns a task that will run to completion if the original task completes successfully (either the first time or after retrying transient failures). If the task fails with a non-transient error or the retry limit is reached, the returned task will become faulted and the exception must be observed. Repeatedly executes the specified asynchronous action while it satisfies the current retry policy. The begin method of the async pattern. The end method of the async pattern. The action to perform when the async operation is done. The fault handler delegate that will be triggered if the operation cannot be successfully invoked despite retry attempts. Repeatedly executes the specified asynchronous action while it satisfies the current retry policy. The type of the object returned by the async operation. The begin method of the async pattern. The end method of the async pattern. The action to perform when the async operation is done. The fault handler delegate that will be triggered if the operation cannot be successfully invoked despite retry attempts. Notifies the subscribers whenever a retry condition is encountered. The current retry attempt count. The exception which caused the retry conditions to occur. The delay indicating how long the current thread will be suspended for before the next iteration will be invoked. An instance of a callback delegate that will be invoked whenever a retry condition is encountered. Gets the retry strategy. Gets the instance of the error detection strategy. Implements a strategy that ignores any transient errors. Always return false. The exception. Returns false. Implements a strategy that treats all exceptions as transient errors. Always return true. The exception. Returns true. Provides a generic version of the class. The type implementing the interface that is responsible for detecting transient conditions. Initializes a new instance of the RetryPolicy class with the specified number of retry attempts and parameters defining the progressive delay between retries. The retry strategy to use for this retry policy. Initializes a new instance of the RetryPolicy class with the specified number of retry attempts and default fixed time interval between retries. The number of retry attempts. Initializes a new instance of the RetryPolicy class with the specified number of retry attempts and fixed time interval between retries. The number of retry attempts. The interval between retries. Initializes a new instance of the RetryPolicy class with the specified number of retry attempts and back-off parameters for calculating the exponential delay between retries. The number of retry attempts. The minimum back-off time. The maximum back-off time. The time value that will be used for calculating a random delta in the exponential delay between retries. Initializes a new instance of the RetryPolicy class with the specified number of retry attempts and parameters defining the progressive delay between retries. The number of retry attempts. The initial interval that will apply for the first retry. The incremental time value that will be used for calculating the progressive delay between retries. A retry strategy with back-off parameters for calculating the exponential delay between retries. Represents a retry strategy that determines how many times should be retried and the interval between retries. The default number of retry attempts. The default amount of time used when calculating a random delta in the exponential delay between retries. The default maximum amount of time used when calculating the exponential delay between retries. The default minimum amount of time used when calculating the exponential delay between retries. The default amount of time defining an interval between retries. The default amount of time defining a time increment between retry attempts in the progressive delay policy. The default flag indicating whether or not the very first retry attempt will be made immediately whereas the subsequent retries will remain subject to retry interval. Returns a default policy that does no retries, it just invokes action exactly once. Returns a default policy that implements a fixed retry interval configured with and parameters. The default retry policy treats all caught exceptions as transient errors. Returns a default policy that implements a progressive retry interval configured with , and parameters. The default retry policy treats all caught exceptions as transient errors. Returns a default policy that implements a random exponential retry interval configured with , , and parameters. The default retry policy treats all caught exceptions as transient errors. Initializes a new instance of the class. The name of the retry strategy. a value indicating whether or not the very first retry attempt will be made immediately whereas the subsequent retries will remain subject to retry interval. Returns the corresponding ShouldRetry delegate. The ShouldRetry delegate. Gets or sets a value indicating whether or not the very first retry attempt will be made immediately whereas the subsequent retries will remain subject to retry interval. Gets the name of the retry strategy. Initializes a new instance of the class. Initializes a new instance of the class. The maximum number of retry attempts. The minimum back-off time The maximum back-off time. The value that will be used for calculating a random delta in the exponential delay between retries. Initializes a new instance of the class. The name of the retry strategy. The maximum number of retry attempts. The minimum back-off time The maximum back-off time. The value that will be used for calculating a random delta in the exponential delay between retries. Initializes a new instance of the class. The name of the retry strategy. The maximum number of retry attempts. The minimum back-off time The maximum back-off time. The value that will be used for calculating a random delta in the exponential delay between retries. Indicates whether or not the very first retry attempt will be made immediately whereas the subsequent retries will remain subject to retry interval. Returns the corresponding ShouldRetry delegate. The ShouldRetry delegate. A retry strategy with a specified number of retry attempts and a default fixed time interval between retries. Initializes a new instance of the class. Initializes a new instance of the class. The number of retry attempts. Initializes a new instance of the class. The number of retry attempts. The time interval between retries. Initializes a new instance of the class. The retry strategy name. The number of retry attempts. The time interval between retries. Initializes a new instance of the class. The retry strategy name. The number of retry attempts. The time interval between retries. a value indicating whether or not the very first retry attempt will be made immediately whereas the subsequent retries will remain subject to retry interval. Returns the corresponding ShouldRetry delegate. The ShouldRetry delegate. A retry strategy with a specified number of retry attempts and an incremental time interval between retries. Initializes a new instance of the class. Initializes a new instance of the class. The number of retry attempts. The initial interval that will apply for the first retry. The incremental time value that will be used for calculating the progressive delay between retries. Initializes a new instance of the class. The retry strategy name. The number of retry attempts. The initial interval that will apply for the first retry. The incremental time value that will be used for calculating the progressive delay between retries. Initializes a new instance of the class. The retry strategy name. The number of retry attempts. The initial interval that will apply for the first retry. The incremental time value that will be used for calculating the progressive delay between retries. a value indicating whether or not the very first retry attempt will be made immediately whereas the subsequent retries will remain subject to retry interval. Returns the corresponding ShouldRetry delegate. The ShouldRetry delegate. Defines a callback delegate that will be invoked whenever a retry condition is encountered. The current retry attempt count. The exception which caused the retry conditions to occur. The delay indicating how long the current thread will be suspended for before the next iteration will be invoked. Returns a callback delegate that will be invoked whenever to retry should be attempt. Starts a Task that will complete after the specified due time. The delay before the returned task completes. The timed Task.