Udostępnij za pośrednictwem


EventHubProperties Class

Definition

The properties of the provisioned Event Hub-compatible endpoint used by the IoT hub.

public class EventHubProperties
type EventHubProperties = class
Public Class EventHubProperties
Inheritance
EventHubProperties

Constructors

EventHubProperties()

Initializes a new instance of the EventHubProperties class.

EventHubProperties(Nullable<Int64>, Nullable<Int32>, IList<String>, String, String)

Initializes a new instance of the EventHubProperties class.

Properties

Endpoint

Gets the Event Hub-compatible endpoint.

PartitionCount

Gets or sets the number of partitions for receiving device-to-cloud messages in the Event Hub-compatible endpoint. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages.

PartitionIds

Gets the partition ids in the Event Hub-compatible endpoint.

Path

Gets the Event Hub-compatible name.

RetentionTimeInDays

Gets or sets the retention time for device-to-cloud messages in days. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging#device-to-cloud-messages

Applies to