Share via


ExperimentationService.QueryFlightStatusAsync Method

Definition

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.

public:
 virtual System::Threading::Tasks::Task<bool> ^ QueryFlightStatusAsync(System::String ^ flight, System::Threading::CancellationToken token);
public System.Threading.Tasks.Task<bool> QueryFlightStatusAsync (string flight, System.Threading.CancellationToken token);
abstract member QueryFlightStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.QueryFlightStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function QueryFlightStatusAsync (flight As String, token As CancellationToken) As Task(Of Boolean)

Parameters

flight
String

Flight name (case-insensitive)

token
CancellationToken

cancellation token to interrupt process

Returns

Implements

Applies to