Share via


PercentileMetricDefinition Class

Definition

The definition of a Percentile metric definition. Calculates a specified percentile of an event property.

public class PercentileMetricDefinition : Azure.Analytics.OnlineExperimentation.ExperimentMetricDefinition, System.ClientModel.Primitives.IJsonModel<Azure.Analytics.OnlineExperimentation.PercentileMetricDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.Analytics.OnlineExperimentation.PercentileMetricDefinition>
type PercentileMetricDefinition = class
    inherit ExperimentMetricDefinition
    interface IJsonModel<PercentileMetricDefinition>
    interface IPersistableModel<PercentileMetricDefinition>
Public Class PercentileMetricDefinition
Inherits ExperimentMetricDefinition
Implements IJsonModel(Of PercentileMetricDefinition), IPersistableModel(Of PercentileMetricDefinition)
Inheritance
PercentileMetricDefinition
Implements

Constructors

PercentileMetricDefinition(AggregatedValue, Double)

Initializes a new instance of PercentileMetricDefinition.

PercentileMetricDefinition(String, String, Int32)

Initializes a new instance of PercentileMetricDefinition.

Properties

Percentile

The percentile to measure.

Value

The value to aggregate, including the event name and property to measure.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ExperimentMetricDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ExperimentMetricDefinition)
IJsonModel<ExperimentMetricDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ExperimentMetricDefinition)
IJsonModel<PercentileMetricDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<PercentileMetricDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ExperimentMetricDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ExperimentMetricDefinition)
IPersistableModel<ExperimentMetricDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ExperimentMetricDefinition)
IPersistableModel<ExperimentMetricDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ExperimentMetricDefinition)
IPersistableModel<PercentileMetricDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PercentileMetricDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<PercentileMetricDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to