Table of Contents

Struct TimeoutGeneratorArguments

Namespace
Polly.Timeout
Assembly
Polly.Core.dll

Arguments used by the timeout strategy to retrieve a timeout for current execution.

public readonly struct TimeoutGeneratorArguments
Inherited Members

Remarks

Always use the constructor when creating this struct, otherwise we do not guarantee binary compatibility.

Constructors

TimeoutGeneratorArguments(ResilienceContext)

Initializes a new instance of the TimeoutGeneratorArguments struct.

public TimeoutGeneratorArguments(ResilienceContext context)

Parameters

context ResilienceContext

The context associated with the execution of a user-provided callback.

Properties

Context

Gets the context associated with the execution of a user-provided callback.

public ResilienceContext Context { get; }

Property Value

ResilienceContext