Share via


ObservedEvent Class

Definition

An event observed by a metric.

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

Constructors

ObservedEvent(String)

Initializes a new instance of ObservedEvent.

Properties

EventName

The name of the event.

Filter

[Optional] A condition to filter events.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ObservedEvent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ObservedEvent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ObservedEvent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ObservedEvent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ObservedEvent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to