Method GetAsync
GetAsync(string, string, CancellationToken)
Gets an upload of a user with its current state.
Declaration
ValueTask<StoredUpload?> GetAsync(string userId, string uploadId, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | userId | The ID of the user the upload belongs to. |
| string | uploadId | The ID of the upload, which the service has checked to be a well-formed ID. |
| CancellationToken | cancellationToken | A token that cancels the operation. |
Returns
| Type | Description |
|---|---|
| ValueTask<StoredUpload> | The upload, or null if the user has no upload with the ID, such as when it was deleted. |