<PackageReference Include="Polly.Core" Version="8.0.0-alpha.8" />

OnTimeoutArguments

public sealed class OnTimeoutArguments
Arguments used by the timeout strategy to notify that a timeout occurred.
public ResilienceContext Context { get; }

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

public Exception Exception { get; }

Gets hte original exception that caused the timeout.

public TimeSpan Timeout { get; }

Gets the timeout value assigned.

public OnTimeoutArguments(ResilienceContext context, Exception exception, TimeSpan timeout)

Initializes a new instance of the OnTimeoutArguments class.