Method OpenVariantAsync
OpenVariantAsync(FileId, string)
Opens a file stream for an existing file variant in the repository using the recommended sharing options.
Declaration
public ValueTask<FileStream> OpenVariantAsync(FileId fileId, string variantId)
Parameters
| Type | Name | Description |
|---|---|---|
| FileId | fileId | |
| string | variantId |
Returns
| Type | Description |
|---|---|
| ValueTask<FileStream> |
Exceptions
| Type | Condition |
|---|---|
| RepoFileNotFoundException | The variant was not found. |