Share via


UserRateMetricDefinition Class

Definition

The definition of a UserRate metric definition. Calculates the percentage of users who encounter a start event and subsequently an end event. Users must encounter events in the specified order.

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

Constructors

UserRateMetricDefinition(ObservedEvent, ObservedEvent)

Initializes a new instance of UserRateMetricDefinition.

UserRateMetricDefinition(String, String)

Initializes a new instance of UserRateMetricDefinition.

Properties

EndEvent

The end event to observe, which is a condition for the rate numerator.

StartEvent

The start event to observe as the rate denominator.

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<UserRateMetricDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UserRateMetricDefinition>.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<UserRateMetricDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UserRateMetricDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UserRateMetricDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to