Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EventData

Package version

The interface that describes the data to be sent to Event Hub. Use this as a reference when creating the object to be sent when using the EventHubProducerClient. For example, { body: "your-data" } or

``` { body: "your-data", properties: { propertyName: "property value" } }

Hierarchy

  • EventData

Index

Properties

Properties

body

body: any

The message body that needs to be sent. If the application reading the events is not using this SDK, convert your body payload to a byte array or Buffer for better cross-language compatibility.

Optional properties

properties: undefined | {}

Set of key value pairs that can be used to set properties specific to user application.

Generated using TypeDoc