Constructor CreateUploadCommand
CreateUploadCommand(string, long, string?, int?, JsonElement?, string?)
Initializes a new instance of the CreateUploadCommand class.
Declaration
public CreateUploadCommand(string fileName, long length, string? contentType = null, int? chunkSize = null, JsonElement? command = null, string? idempotencyKey = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fileName | The name of the file. |
| long | length | The length of the file in bytes. |
| string | contentType | The content type of the file, if known. |
| int? | chunkSize | The chunk size the client asks for in bytes, or null for the service's default. |
| JsonElement? | command | The app's command as JSON, or null if there is none. |
| string | idempotencyKey | A key that the client chose for the upload, or null for none. |