Sdílet prostřednictvím


NotificationContext Class

Definition

The context info.

public class NotificationContext : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Models.NotificationContext>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Models.NotificationContext>
type NotificationContext = class
    interface IJsonModel<NotificationContext>
    interface IPersistableModel<NotificationContext>
Public Class NotificationContext
Implements IJsonModel(Of NotificationContext), IPersistableModel(Of NotificationContext)
Inheritance
NotificationContext
Implements

Properties

ContextType

The context id type.

NotificationSource

The source of the notification request.

Explicit Interface Implementations

IJsonModel<NotificationContext>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NotificationContext>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NotificationContext>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NotificationContext>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NotificationContext>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to