IExperimentationService3 Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
IExperimentationService3 provides information about Treatment Variables
public interface class IExperimentationService3
public interface IExperimentationService3
type IExperimentationService3 = interface
Public Interface IExperimentationService3
- Derived
Methods
GetBoolTreatmentVariableAsync(String, String, CancellationToken) |
Returns the value of the Treatment Variable or null if not found. Example: TV: VisualStudio.boolTreatmentVariable: true |
GetCachedTreatmentVariables(String) |
Get config data for experiments. Fast and cheap method. Read information from the local storage. Can be used on a startup. |
GetDoubleTreatmentVariableAsync(String, String, CancellationToken) |
Returns the value of the Treatment Variable or null if not found. Example: TV: VisualStudio.numTreatmentVariable: 4.3 |
GetIntTreatmentVariableAsync(String, String, CancellationToken) |
Returns the int value of the Treatment Variable or null if not found or wrong type. Example: TV: VisualStudio.intTreatmentVariable: 42 |
GetStringTreatmentVariableAsync(String, String, CancellationToken) |
Returns the string value of the Treatment Variable or null if not found or wrong type. Example: TV: VisualStudio.stringTreatmentVariable: "foo" |
GetTreatmentVariablesAsync(String, CancellationToken) |
Get config data for experiments. If request is in the progress wait. |