你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

OutputFileReference 类

定义

对持久性存储中任务或作业输出文件的引用。

public sealed class OutputFileReference
type OutputFileReference = class
Public NotInheritable Class OutputFileReference
继承
OutputFileReference

属性

BlobClient

获取对表示持久存储中的文件的基础 BlobBaseClient 对象的引用。 这可用于调用抽象未呈现 OutputFileReference 的 Blob 方法或重载。

FilePath

获取存储文件的路径。

Uri

获取持久存储中文件的 URI。

方法

DeleteAsync(CancellationToken, DeleteSnapshotsOption)

从永久性存储中删除文件。

DownloadToByteArrayAsync(Byte[], Int32, CancellationToken)

将文件的内容下载到字节数组。

DownloadToFileAsync(String, CancellationToken)

将文件的内容下载到指定路径。

DownloadToStreamAsync(Stream, CancellationToken)

将文件的内容下载到流中。

OpenReadAsync(CancellationToken)

打开一个流,以便从永久性存储中的文件中读取。

适用于