Property ChunkSize
ChunkSize
Gets the chunk size in bytes to ask the service for, which the service keeps within its bounds: by default 5 MiB to 64 MiB. Default is null, which uses the service's default, 5 MiB unless the service sets another.
Declaration
public int? ChunkSize { get; init; }
Property Value
| Type | Description |
|---|---|
| int? |
Remarks
Each chunk that is being sent is held in a buffer of its size. In the browser, a chunk also passes through a few copies of about its size on its way to the network, so the memory that an upload needs there is a few times the chunk size times MaxConcurrency.
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | The value is zero or negative. |