IExecutionPolicy Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |