你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FabricClient.QueryClient.GetNodePagedListAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetNodePagedListAsync() |
获取群集中所有节点或指定节点的详细信息。 如果节点不适合页面,则返回一页结果以及可用于获取下一页的延续标记。 |
GetNodePagedListAsync(NodeQueryDescription) |
获取群集中所有节点或指定节点的详细信息。 如果节点不适合页面,则返回一页结果以及可用于获取下一页的延续标记。 |
GetNodePagedListAsync(NodeQueryDescription, TimeSpan, CancellationToken) |
获取群集中所有节点或指定节点的详细信息。 如果节点不适合页面,则返回一页结果以及可用于获取下一页的延续标记。 |
GetNodePagedListAsync()
获取群集中所有节点或指定节点的详细信息。 如果节点不适合页面,则返回一页结果以及可用于获取下一页的延续标记。
public System.Threading.Tasks.Task<System.Fabric.Query.NodeList> GetNodePagedListAsync();
member this.GetNodePagedListAsync : unit -> System.Threading.Tasks.Task<System.Fabric.Query.NodeList>
Public Function GetNodePagedListAsync () As Task(Of NodeList)
返回
表示异步操作的任务。
返回的任务包含作为 NodeList的节点列表。
例外
有关处理常见 FabricClient 故障,请参阅 https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions 。
有关处理常见 FabricClient 故障,请参阅 https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions 。
另 https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions 请参阅处理常见 FabricClient 故障。
适用于
GetNodePagedListAsync(NodeQueryDescription)
获取群集中所有节点或指定节点的详细信息。 如果节点不适合页面,则返回一页结果以及可用于获取下一页的延续标记。
public System.Threading.Tasks.Task<System.Fabric.Query.NodeList> GetNodePagedListAsync(System.Fabric.Description.NodeQueryDescription queryDescription);
member this.GetNodePagedListAsync : System.Fabric.Description.NodeQueryDescription -> System.Threading.Tasks.Task<System.Fabric.Query.NodeList>
Public Function GetNodePagedListAsync (queryDescription As NodeQueryDescription) As Task(Of NodeList)
参数
- queryDescription
- NodeQueryDescription
描述 NodeQueryDescription 要返回的应用程序节点的 对象。
返回
表示异步操作的任务。
返回的任务包含作为 NodeList的节点列表。
例外
有关处理常见 FabricClient 故障,请参阅 https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions 。
有关处理常见 FabricClient 故障,请参阅 https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions 。
另 https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions 请参阅处理常见 FabricClient 故障。
适用于
GetNodePagedListAsync(NodeQueryDescription, TimeSpan, CancellationToken)
获取群集中所有节点或指定节点的详细信息。 如果节点不适合页面,则返回一页结果以及可用于获取下一页的延续标记。
public System.Threading.Tasks.Task<System.Fabric.Query.NodeList> GetNodePagedListAsync(System.Fabric.Description.NodeQueryDescription queryDescription, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetNodePagedListAsync : System.Fabric.Description.NodeQueryDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.NodeList>
Public Function GetNodePagedListAsync (queryDescription As NodeQueryDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of NodeList)
参数
- queryDescription
- NodeQueryDescription
描述 NodeQueryDescription 要返回的应用程序节点的 对象。
- timeout
- TimeSpan
指定此操作在超时之前必须完成的持续时间。
- cancellationToken
- CancellationToken
传播应取消操作的通知。
返回
表示异步操作的任务。
返回的任务包含作为 NodeList的节点列表。
例外
有关处理常见 FabricClient 故障,请参阅 https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions 。
有关处理常见 FabricClient 故障,请参阅 https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions 。
另 https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions 请参阅处理常见 FabricClient 故障。