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

FabricClient.QueryClient.GetDeployedServicePackagePagedListAsync 方法

定义

重载

GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription)

获取给定节点和应用程序的已部署服务包。

GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription, TimeSpan, CancellationToken)

获取给定节点和应用程序的已部署服务包。

GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription)

获取给定节点和应用程序的已部署服务包。

public System.Threading.Tasks.Task<System.Fabric.Query.DeployedServicePackagePagedList> GetDeployedServicePackagePagedListAsync (System.Fabric.Description.PagedDeployedServicePackageQueryDescription queryDescription);
member this.GetDeployedServicePackagePagedListAsync : System.Fabric.Description.PagedDeployedServicePackageQueryDescription -> System.Threading.Tasks.Task<System.Fabric.Query.DeployedServicePackagePagedList>
Public Function GetDeployedServicePackagePagedListAsync (queryDescription As PagedDeployedServicePackageQueryDescription) As Task(Of DeployedServicePackagePagedList)

参数

queryDescription
PagedDeployedServicePackageQueryDescription

描述 PagedDeployedServicePackageQueryDescription 要返回的已部署服务包的 对象。

返回

表示异步查询操作的任务。

返回的任务包含作为 的已部署服务包 DeployedServicePackagePagedList的列表。

如果未找到与提供的筛选器匹配的结果,则此查询返回空而不是错误。

例外

对于此查询,此异常通常意味着给定的节点名称与群集中的任何节点都不匹配。

注解

这是分页查询,这意味着,如果不是所有服务包都适合一个页面,则返回一页的结果以及可用于获取下一页的延续标记。 例如,如果有 10000 个服务包,但页面只适合前 3000 个服务包,则返回 3000。 要访问其他结果,请使用下一查询中返回的继续标记来检索后续页面。 如果没有后续页,则返回 null 延续标记。

适用于

GetDeployedServicePackagePagedListAsync(PagedDeployedServicePackageQueryDescription, TimeSpan, CancellationToken)

获取给定节点和应用程序的已部署服务包。

public System.Threading.Tasks.Task<System.Fabric.Query.DeployedServicePackagePagedList> GetDeployedServicePackagePagedListAsync (System.Fabric.Description.PagedDeployedServicePackageQueryDescription queryDescription, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetDeployedServicePackagePagedListAsync : System.Fabric.Description.PagedDeployedServicePackageQueryDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.DeployedServicePackagePagedList>
Public Function GetDeployedServicePackagePagedListAsync (queryDescription As PagedDeployedServicePackageQueryDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of DeployedServicePackagePagedList)

参数

queryDescription
PagedDeployedServicePackageQueryDescription

描述 PagedDeployedServicePackageQueryDescription 要返回的已部署服务包的 对象。

timeout
TimeSpan
cancellationToken
CancellationToken

返回

表示异步查询操作的任务。

返回的任务包含作为 的已部署服务包 DeployedServicePackagePagedList的列表。

如果未找到与提供的筛选器匹配的结果,则此查询返回空而不是错误。

例外

对于此查询,此异常通常意味着给定的节点名称与群集中的任何节点都不匹配。

注解

这是分页查询,这意味着,如果不是所有服务包都适合一个页面,则返回一页的结果以及可用于获取下一页的延续标记。 例如,如果有 10000 个服务包,但页面只适合前 3000 个服务包,则返回 3000。 要访问其他结果,请使用下一查询中返回的继续标记来检索后续页面。 如果没有后续页,则返回 null 延续标记。

适用于