Share via


ExperimentationService.IsFlightEnabledAsync(String, CancellationToken) Method

Definition

Get actual flight status. If requests in the progress waits on them. Sends telemetry event to indicate the triggered experimental scenario.

public:
 virtual System::Threading::Tasks::Task<bool> ^ IsFlightEnabledAsync(System::String ^ flight, System::Threading::CancellationToken token);
public System.Threading.Tasks.Task<bool> IsFlightEnabledAsync (string flight, System.Threading.CancellationToken token);
abstract member IsFlightEnabledAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.IsFlightEnabledAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function IsFlightEnabledAsync (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