EventHubProperties Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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.
- path
- String
The Event Hub-compatible name.
- endpoint
- String
The Event Hub-compatible endpoint.
Applies to
Azure SDK for .NET