次の方法で共有


DeviceRegistryEvent Class

Definition

Defines the event properties.

public class DeviceRegistryEvent : Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryEventBase, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryEvent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DeviceRegistry.Models.DeviceRegistryEvent>
type DeviceRegistryEvent = class
    inherit DeviceRegistryEventBase
    interface IJsonModel<DeviceRegistryEvent>
    interface IPersistableModel<DeviceRegistryEvent>
Public Class DeviceRegistryEvent
Inherits DeviceRegistryEventBase
Implements IJsonModel(Of DeviceRegistryEvent), IPersistableModel(Of DeviceRegistryEvent)
Inheritance
DeviceRegistryEvent
Implements

Constructors

DeviceRegistryEvent(String, String)

Initializes a new instance of DeviceRegistryEvent.

Properties

EventConfiguration

Stringified JSON that contains connector-specific configuration for the event. For OPC UA, this could include configuration like, publishingInterval, samplingInterval, and queueSize.

(Inherited from DeviceRegistryEventBase)
EventNotifier

The address of the notifier of the event in the asset (e.g. URL) so that a client can access the event on the asset.

(Inherited from DeviceRegistryEventBase)
Name

The name of the event.

(Inherited from DeviceRegistryEventBase)
ObservabilityMode

An indication of how the event should be mapped to OpenTelemetry.

Topic

Object that describes the topic information for the specific event.

(Inherited from DeviceRegistryEventBase)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DeviceRegistryEvent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DeviceRegistryEvent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<DeviceRegistryEventBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from DeviceRegistryEventBase)
IPersistableModel<DeviceRegistryEvent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DeviceRegistryEvent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DeviceRegistryEvent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<DeviceRegistryEventBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from DeviceRegistryEventBase)

Applies to