Share via


UserCountMetricDefinition Class

Definition

The definition of a UserCount metric definition. Counts unique users who encounter a specified event.

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

Constructors

UserCountMetricDefinition(ObservedEvent)

Initializes a new instance of UserCountMetricDefinition.

UserCountMetricDefinition(String)

Initializes a new instance of UserCountMetricDefinition.

Properties

Event

Event to observe.

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

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

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

Converts the provided BinaryData into a model.

IPersistableModel<UserCountMetricDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UserCountMetricDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to