共用方式為


EventHubProperties Constructors

Definition

Overloads

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.

EventHubProperties()

Initializes a new instance of the EventHubProperties class.

public EventHubProperties ();
Public Sub New ()

Applies to

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

Initializes a new instance of the EventHubProperties class.

public EventHubProperties (long? retentionTimeInDays = default, int? partitionCount = default, System.Collections.Generic.IList<string> partitionIds = default, string path = default, string endpoint = default);
new Microsoft.Azure.Management.IotHub.Models.EventHubProperties : Nullable<int64> * Nullable<int> * System.Collections.Generic.IList<string> * string * string -> Microsoft.Azure.Management.IotHub.Models.EventHubProperties
Public Sub New (Optional retentionTimeInDays As Nullable(Of Long) = Nothing, Optional partitionCount As Nullable(Of Integer) = Nothing, Optional partitionIds As IList(Of String) = Nothing, Optional path As String = Nothing, Optional endpoint As String = Nothing)

Parameters

retentionTimeInDays
Nullable<Int64>

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

partitionCount
Nullable<Int32>

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
IList<String>

The partition ids in the Event Hub-compatible endpoint.

path
String

The Event Hub-compatible name.

endpoint
String

The Event Hub-compatible endpoint.

Applies to