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

CloudFile.DownloadTextAsync 方法

定义

重载

DownloadTextAsync(AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)
DownloadTextAsync(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)
DownloadTextAsync()
DownloadTextAsync(AccessCondition, FileRequestOptions, OperationContext)

DownloadTextAsync(AccessCondition, FileRequestOptions, OperationContext, IProgress<StorageProgress>, CancellationToken)

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> DownloadTextAsync (Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.File.FileRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, IProgress<Microsoft.WindowsAzure.Storage.Core.Util.StorageProgress> progressHandler, System.Threading.CancellationToken cancellationToken);
[<Microsoft.WindowsAzure.Storage.DoesServiceRequest>]
abstract member DownloadTextAsync : Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * IProgress<Microsoft.WindowsAzure.Storage.Core.Util.StorageProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.DownloadTextAsync : Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * IProgress<Microsoft.WindowsAzure.Storage.Core.Util.StorageProgress> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function DownloadTextAsync (accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, progressHandler As IProgress(Of StorageProgress), cancellationToken As CancellationToken) As Task(Of String)

参数

accessCondition
AccessCondition
operationContext
OperationContext
progressHandler
IProgress<StorageProgress>
cancellationToken
CancellationToken

返回

属性

适用于

DownloadTextAsync(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> DownloadTextAsync (Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.File.FileRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.WindowsAzure.Storage.DoesServiceRequest>]
abstract member DownloadTextAsync : Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.DownloadTextAsync : Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function DownloadTextAsync (accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of String)

参数

accessCondition
AccessCondition
operationContext
OperationContext
cancellationToken
CancellationToken

返回

属性

适用于

DownloadTextAsync()

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> DownloadTextAsync ();
[<Microsoft.WindowsAzure.Storage.DoesServiceRequest>]
abstract member DownloadTextAsync : unit -> System.Threading.Tasks.Task<string>
override this.DownloadTextAsync : unit -> System.Threading.Tasks.Task<string>
Public Overridable Function DownloadTextAsync () As Task(Of String)

返回

属性

适用于

DownloadTextAsync(AccessCondition, FileRequestOptions, OperationContext)

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<string> DownloadTextAsync (Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.File.FileRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
[<Microsoft.WindowsAzure.Storage.DoesServiceRequest>]
abstract member DownloadTextAsync : Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task<string>
override this.DownloadTextAsync : Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Threading.Tasks.Task<string>
Public Overridable Function DownloadTextAsync (accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext) As Task(Of String)

参数

accessCondition
AccessCondition
operationContext
OperationContext

返回

属性

适用于