Share via


RetryHandler Delegate

Definition

Delegate for manually handling task retries.

public delegate bool RetryHandler(RetryContext retryContext);
type RetryHandler = delegate of RetryContext -> bool
Public Delegate Function RetryHandler(retryContext As RetryContext) As Boolean 

Parameters

retryContext
RetryContext

Retry context that's updated between each retry attempt.

Return Value

Returns true to continue retrying or false to stop retrying.

Remarks

Retry handler code is an extension of the orchestrator code and must therefore comply with all the determinism requirements of orchestrator code.

Applies to