StoreServicesExperimentVariation.IsStale Property
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.
Indicates whether the current variation assignment needs to be refreshed from the server.
public:
property bool IsStale { bool get(); };
bool IsStale();
public bool IsStale { get; }
var boolean = storeServicesExperimentVariation.isStale;
Public ReadOnly Property IsStale As Boolean
Property Value
bool
true if the current variation assignment needs to be refreshed from the server; otherwise, false.
Remarks
When you retrieve an experiment variation in your app, we recommend that you first call GetCachedVariationAsync to get the locally cached variation assignment. Before using the variation assignment, use the IsStale property to determine whether there is an updated variation assignment available from the server. If there is, then call the GetRefreshedVariationAsync method to get the latest variation assignment.
For a code example that demonstrates how to use this method, see Code your experiment in your app.