FabricClient.QueryClient.GetLoadedPartitionInfoListAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetLoadedPartitionInfoListAsync(LoadedPartitionInformationQueryDescription) |
Gets top/least loaded partitions. |
GetLoadedPartitionInfoListAsync(LoadedPartitionInformationQueryDescription, TimeSpan, CancellationToken) |
Gets top/least loaded partitions. |
GetLoadedPartitionInfoListAsync(LoadedPartitionInformationQueryDescription)
Gets top/least loaded partitions.
public System.Threading.Tasks.Task<System.Fabric.Query.LoadedPartitionInformationResultList> GetLoadedPartitionInfoListAsync (System.Fabric.Description.LoadedPartitionInformationQueryDescription queryDescription);
member this.GetLoadedPartitionInfoListAsync : System.Fabric.Description.LoadedPartitionInformationQueryDescription -> System.Threading.Tasks.Task<System.Fabric.Query.LoadedPartitionInformationResultList>
Public Function GetLoadedPartitionInfoListAsync (queryDescription As LoadedPartitionInformationQueryDescription) As Task(Of LoadedPartitionInformationResultList)
Parameters
- queryDescription
- LoadedPartitionInformationQueryDescription
Describes the query to get top/least loaded partitions.
Returns
A task that represents the asynchronous query operation.
The returned task contains the information of top/least loaded partitions as LoadedPartitionInformationResultList.
Exceptions
See https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.
See https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.
See also https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.
Applies to
GetLoadedPartitionInfoListAsync(LoadedPartitionInformationQueryDescription, TimeSpan, CancellationToken)
Gets top/least loaded partitions.
public System.Threading.Tasks.Task<System.Fabric.Query.LoadedPartitionInformationResultList> GetLoadedPartitionInfoListAsync (System.Fabric.Description.LoadedPartitionInformationQueryDescription queryDescription, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetLoadedPartitionInfoListAsync : System.Fabric.Description.LoadedPartitionInformationQueryDescription * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Query.LoadedPartitionInformationResultList>
Public Function GetLoadedPartitionInfoListAsync (queryDescription As LoadedPartitionInformationQueryDescription, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of LoadedPartitionInformationResultList)
Parameters
- queryDescription
- LoadedPartitionInformationQueryDescription
Describes the query to get top/least loaded partitions.
- timeout
- TimeSpan
Specifies the duration this operation has to complete before timing out.
- cancellationToken
- CancellationToken
Propagates notification that operations should be canceled.
Returns
A task that represents the asynchronous query operation.
The returned task contains the information of top/least loaded partitions as LoadedPartitionInformationResultList.
Exceptions
See https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.
See https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.
See also https://docs.microsoft.com/azure/service-fabric/service-fabric-errors-and-exceptions for handling common FabricClient failures.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기