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

CloudFileClient.ListSharesSegmentedAsync 方法

定义

重载

ListSharesSegmentedAsync(String, ShareListingDetails, Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext, CancellationToken)

返回一个任务,该任务执行异步请求以返回结果段,其中包含名称以指定前缀开头的共享集合。

ListSharesSegmentedAsync(String, ShareListingDetails, Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext)

返回一个任务,该任务执行异步请求以返回结果段,其中包含名称以指定前缀开头的共享集合。

ListSharesSegmentedAsync(String, FileContinuationToken, CancellationToken)

返回一个任务,该任务执行异步请求以返回结果段,其中包含名称以指定前缀开头的共享集合。

ListSharesSegmentedAsync(String, FileContinuationToken)

返回一个任务,该任务执行异步请求以返回结果段,其中包含名称以指定前缀开头的共享集合。

ListSharesSegmentedAsync(FileContinuationToken, CancellationToken)

返回一个任务,该任务执行异步请求以返回包含共享集合的结果段。

ListSharesSegmentedAsync(FileContinuationToken)

返回一个任务,该任务执行异步请求以返回包含共享集合的结果段。

ListSharesSegmentedAsync(String, ShareListingDetails, Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext, CancellationToken)

返回一个任务,该任务执行异步请求以返回结果段,其中包含名称以指定前缀开头的共享集合。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment> ListSharesSegmentedAsync(string prefix, Microsoft.Azure.Storage.File.ShareListingDetails detailsIncluded, int? maxResults, Microsoft.Azure.Storage.File.FileContinuationToken currentToken, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListSharesSegmentedAsync : string * Microsoft.Azure.Storage.File.ShareListingDetails * Nullable<int> * Microsoft.Azure.Storage.File.FileContinuationToken * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment>
override this.ListSharesSegmentedAsync : string * Microsoft.Azure.Storage.File.ShareListingDetails * Nullable<int> * Microsoft.Azure.Storage.File.FileContinuationToken * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment>
Public Overridable Function ListSharesSegmentedAsync (prefix As String, detailsIncluded As ShareListingDetails, maxResults As Nullable(Of Integer), currentToken As FileContinuationToken, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of ShareResultSegment)

参数

prefix
String

共享名称前缀。

detailsIncluded
ShareListingDetails

一个用于指示是否连同列表一起返回共享元数据的值。

maxResults
Nullable<Int32>

非负整数值,指示结果段中最多返回的结果的数目,最大限制为每操作 5000。 如果此值为 null,将返回最大可能的结果数,最多为 5000。

currentToken
FileContinuationToken

上一操作返回的继续标记。

options
FileRequestOptions

一个 FileRequestOptions 对象,它指定请求的其他选项。

operationContext
OperationContext

一个 OperationContext 对象,它一个表示当前操作的上下文。

cancellationToken
CancellationToken

等待任务完成期间要观察的 CancellationToken

返回

一个表示当前操作的 Task<TResult> 对象。

属性

适用于

ListSharesSegmentedAsync(String, ShareListingDetails, Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext)

返回一个任务,该任务执行异步请求以返回结果段,其中包含名称以指定前缀开头的共享集合。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment> ListSharesSegmentedAsync(string prefix, Microsoft.Azure.Storage.File.ShareListingDetails detailsIncluded, int? maxResults, Microsoft.Azure.Storage.File.FileContinuationToken currentToken, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListSharesSegmentedAsync : string * Microsoft.Azure.Storage.File.ShareListingDetails * Nullable<int> * Microsoft.Azure.Storage.File.FileContinuationToken * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment>
override this.ListSharesSegmentedAsync : string * Microsoft.Azure.Storage.File.ShareListingDetails * Nullable<int> * Microsoft.Azure.Storage.File.FileContinuationToken * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment>
Public Overridable Function ListSharesSegmentedAsync (prefix As String, detailsIncluded As ShareListingDetails, maxResults As Nullable(Of Integer), currentToken As FileContinuationToken, options As FileRequestOptions, operationContext As OperationContext) As Task(Of ShareResultSegment)

参数

prefix
String

共享名称前缀。

detailsIncluded
ShareListingDetails

一个用于指示是否连同列表一起返回共享元数据的值。

maxResults
Nullable<Int32>

非负整数值,指示结果段中最多返回的结果的数目,最大限制为每操作 5000。 如果此值为 null,将返回最大可能的结果数,最多为 5000。

currentToken
FileContinuationToken

上一操作返回的继续标记。

options
FileRequestOptions

一个 FileRequestOptions 对象,它指定请求的其他选项。

operationContext
OperationContext

一个 OperationContext 对象,它一个表示当前操作的上下文。

返回

一个表示当前操作的 Task<TResult> 对象。

属性

适用于

ListSharesSegmentedAsync(String, FileContinuationToken, CancellationToken)

返回一个任务,该任务执行异步请求以返回结果段,其中包含名称以指定前缀开头的共享集合。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment> ListSharesSegmentedAsync(string prefix, Microsoft.Azure.Storage.File.FileContinuationToken currentToken, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListSharesSegmentedAsync : string * Microsoft.Azure.Storage.File.FileContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment>
override this.ListSharesSegmentedAsync : string * Microsoft.Azure.Storage.File.FileContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment>
Public Overridable Function ListSharesSegmentedAsync (prefix As String, currentToken As FileContinuationToken, cancellationToken As CancellationToken) As Task(Of ShareResultSegment)

参数

prefix
String

共享名称前缀。

currentToken
FileContinuationToken

上一操作返回的继续标记。

cancellationToken
CancellationToken

等待任务完成期间要观察的 CancellationToken

返回

一个表示当前操作的 Task<TResult> 对象。

属性

适用于

ListSharesSegmentedAsync(String, FileContinuationToken)

返回一个任务,该任务执行异步请求以返回结果段,其中包含名称以指定前缀开头的共享集合。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment> ListSharesSegmentedAsync(string prefix, Microsoft.Azure.Storage.File.FileContinuationToken currentToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListSharesSegmentedAsync : string * Microsoft.Azure.Storage.File.FileContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment>
override this.ListSharesSegmentedAsync : string * Microsoft.Azure.Storage.File.FileContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment>
Public Overridable Function ListSharesSegmentedAsync (prefix As String, currentToken As FileContinuationToken) As Task(Of ShareResultSegment)

参数

prefix
String

共享名称前缀。

currentToken
FileContinuationToken

上一操作返回的继续标记。

返回

一个表示当前操作的 Task<TResult> 对象。

属性

适用于

ListSharesSegmentedAsync(FileContinuationToken, CancellationToken)

返回一个任务,该任务执行异步请求以返回包含共享集合的结果段。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment> ListSharesSegmentedAsync(Microsoft.Azure.Storage.File.FileContinuationToken currentToken, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListSharesSegmentedAsync : Microsoft.Azure.Storage.File.FileContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment>
override this.ListSharesSegmentedAsync : Microsoft.Azure.Storage.File.FileContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment>
Public Overridable Function ListSharesSegmentedAsync (currentToken As FileContinuationToken, cancellationToken As CancellationToken) As Task(Of ShareResultSegment)

参数

currentToken
FileContinuationToken

上一列表操作返回的 FileContinuationToken 标记。

cancellationToken
CancellationToken

等待任务完成期间要观察的 CancellationToken

返回

一个表示当前操作的 Task<TResult> 对象。

属性

适用于

ListSharesSegmentedAsync(FileContinuationToken)

返回一个任务,该任务执行异步请求以返回包含共享集合的结果段。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment> ListSharesSegmentedAsync(Microsoft.Azure.Storage.File.FileContinuationToken currentToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member ListSharesSegmentedAsync : Microsoft.Azure.Storage.File.FileContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment>
override this.ListSharesSegmentedAsync : Microsoft.Azure.Storage.File.FileContinuationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.ShareResultSegment>
Public Overridable Function ListSharesSegmentedAsync (currentToken As FileContinuationToken) As Task(Of ShareResultSegment)

参数

currentToken
FileContinuationToken

上一列表操作返回的 FileContinuationToken 标记。

返回

一个表示当前操作的 Task<TResult> 对象。

属性

适用于