Skip to main content

ParallelModelFeatureExtractionClient.DownloadBytesAsync method

Downloads a feature extraction job output blob as a byte array.

public Task<byte[]> DownloadBytesAsync(Guid modelId, Guid jobId, Guid blobId, string computeSize,
string inputEncryptionKey, TimeSpan? timeout = default,
CancellationToken cancellationToken = default)
parameterdescription
modelIdThe model identifier.
jobIdThe job identifier.
blobIdThe identifier of the artifact blob to download.
computeSizeThe compute size identifier sent with the request.
inputEncryptionKeyThe Base64 encryption key for the input data or artifact.
timeoutAn optional timeout for the API request.
cancellationTokenA token used to cancel the asynchronous operation.

Return Value​

A task that returns the downloaded bytes.

Exceptions​

exceptioncondition
ParallelModelConfigurationExceptionA required identifier, compute size or supplied encryption key is invalid.
ParallelModelTransportExceptionThe download is interrupted by an HTTP transport error.

See Also​