FabricClient.QueryManager Property

Definition

Gets the query manager that can be used to execute queries against the Service Fabric cluster.

public System.Fabric.FabricClient.QueryClient QueryManager { get; }
member this.QueryManager : System.Fabric.FabricClient.QueryClient
Public ReadOnly Property QueryManager As FabricClient.QueryClient

Property Value

The query manager that can be used to execute queries against the Service Fabric cluster.

Remarks

The query manager can be used to execute queries against the cluster. Most of the queries are distributed. They call multiple system components to get different information. The calls to the system components are executed in parallel and the returned results are aggregated based on a common key. For example, to get the list of nodes in the cluster, the GetNodeListAsync() query goes to Failover Manager, Cluster Manager, and Health Manager system services. For this reason, some queries are expensive.

Applies to