Share via


IExecutionPolicy Interface

Definition

An interface for task execution policy basic function. An exection policy mainly dictates if execution should resume if how long to wait before retries. The implemetnation of this interface may have different flavors: time based policy, count baed, never expires execution etc...

public interface IExecutionPolicy
type IExecutionPolicy = interface
Public Interface IExecutionPolicy
Derived

Properties

Expired

Task execution expired

Methods

BackoffInterval()

Calculates a time interval to wait between execution

ResumeExecution()

This function is called by the task that owns the policy to determine if the execution should resume or not.

Applies to