Partager via


IExperimentationStatusService Interface

Definition

IExperimentationStatusService provides methods to query status of a flight without triggering the experimental scenario.

public interface class IExperimentationStatusService : IDisposable
public interface IExperimentationStatusService : IDisposable
type IExperimentationStatusService = interface
    interface IDisposable
Public Interface IExperimentationStatusService
Implements IDisposable
Derived
Implements

Methods

QueryCachedFlightStatus(String)

Get status of the requested flight, if it is enabled for the user + filters. Fast and cheap method. Does not send a telemetry event to indicate a triggered experimental scenario. Read information from the local storage. Can be used on a startup. IsCachedFlightEnabled should be called at a later point when the experimental scenario will be triggered.

QueryFlightStatusAsync(String, CancellationToken)

Get actual flight status without sending a telemetry event to indicate a triggered experimental scenario. If requests in the progress waits on them. IsFlightEnabledAsync should be called at a later point when the experimental scenario will be triggered.

Applies to