Class RetryableCopyToStreamTaskOptions
Sets the parameters used for running a task from RetryableCopyToStreamTask instance.
public class RetryableCopyToStreamTaskOptions
- Inheritance
-
RetryableCopyToStreamTaskOptions
- Inherited Members
Properties
IsDisposeTargetStream
public bool IsDisposeTargetStream { get; init; }
Property Value
Remarks
Default: false
MaxBufferSize
The amount of max. buffer size to set for copy-to routine.
public int MaxBufferSize { get; init; }
Property Value
Remarks
Default: 4096 bytes.
This is important to set the max. buffer size NOT LESS THAN 1024 bytes and not too big than 1048576 bytes (1 MiB)
MaxRetryCount
How many retry attempts for the copy-to routine.
public int MaxRetryCount { get; init; }
Property Value
Remarks
Default: 5 attempts
MaxTimeoutSeconds
How many seconds before the time-out happen on each read-write operations on copy-to routine.
public double MaxTimeoutSeconds { get; init; }
Property Value
Remarks
Default: 10 seconds
The value CANNOT BE LOWER than 2 seconds.
RetryDelaySeconds
How many seconds of the delay before resuming copy-to routine on each retry attempt.
public double RetryDelaySeconds { get; init; }
Property Value
Remarks
Default: 1 second
SpeedLimiterServiceContext
The context of speed limiter service to be used for download speed throttling.
public nint SpeedLimiterServiceContext { get; init; }
Property Value
Remarks
Default: Zero