Method GetVariantAsync
GetVariantAsync(FileId, string)
Gets information about an existing file variant in the repository.
Declaration
public ValueTask<RepoFileInfo> GetVariantAsync(FileId fileId, string variantId)
Parameters
| Type | Name | Description |
|---|---|---|
| FileId | fileId | |
| string | variantId |
Returns
| Type | Description |
|---|---|
| ValueTask<RepoFileInfo> |
Exceptions
| Type | Condition |
|---|---|
| RepoFileNotFoundException | The variant was not found. |