Property ProcessingTimeout
ProcessingTimeout
Gets or sets how long the handler of an upload can run. Must be greater than zero and at most 24 days. Default is 1 hour.
Declaration
public TimeSpan ProcessingTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Remarks
Its cancellation token is cancelled when it has run for this long, and an upload whose handler is still running a minute later is ended as interrupted (see Interrupted). An upload whose handler runs does not expire.
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | The value is zero, negative or longer than 24 days. |