Interface IQosResults
An interface that allows access to QoS measurements. For use by other Operate packages through the Core Services SDK.
Namespace: Unity.Services.Qos.Internal
Syntax
public interface IQosResults : IServiceComponent
Methods
GetSortedQosResultsAsync(String, IList<String>)
Gets sorted QoS measurements the specified service and regions.
Declaration
Task<IList<QosResult>> GetSortedQosResultsAsync(string service, IList<string> regions)
Parameters
Type | Name | Description |
---|---|---|
String | service | The service to query regions for QoS. |
IList<String> | regions | The regions to query for QoS. If not null or empty, |
Returns
Type | Description |
---|---|
Task<IList<QosResult>> | Returns the sorted list of QoS results, ordered from best to worst. |
Remarks
GetSortedQosResultsAsync
doesn't consider the returned regions until applying the services and regions filters.
If you specify regions, it only includes those regions.