次の方法で共有


StoreServicesExperimentVariationResult Class

Definition

Provides access to a variation assignment for an A/B experiment that you have configured in Partner Center.

public ref class StoreServicesExperimentVariationResult sealed
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Version(1)]
class StoreServicesExperimentVariationResult final
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class StoreServicesExperimentVariationResult
Public NotInheritable Class StoreServicesExperimentVariationResult
Inheritance
Object Platform::Object IInspectable StoreServicesExperimentVariationResult
Attributes

Additional features and requirements

Software Development Kit
Minimum supported OS
Windows 10 (10.0.10240.0)

Remarks

An object of this type is returned by the GetCachedVariationAsync or GetRefreshedVariationAsync methods. Use the ExperimentVariation property of this object to get a StoreServicesExperimentVariationResult that represents an experiment variation. For a related code example, see Code your experiment in your app.

Properties

ErrorCode

Gets the code for an error that occurred.

ErrorMessage

Gets additional detail about an error that occurred.

ExperimentVariation

Returns a StoreServicesExperimentVariation that represents the current variation assignment.

Applies to

See also