Sdílet prostřednictvím


EventHubProperties Constructors

Definition

Overloads

EventHubProperties(String, DateTimeOffset, String[])

Initializes a new instance of the EventHubProperties class.

EventHubProperties(String, DateTimeOffset, String[], Boolean)

Initializes a new instance of the EventHubProperties class.

EventHubProperties(String, DateTimeOffset, String[])

Source:
EventHubProperties.cs

Initializes a new instance of the EventHubProperties class.

protected internal EventHubProperties (string name, DateTimeOffset createdOn, string[] partitionIds);
new Azure.Messaging.EventHubs.EventHubProperties : string * DateTimeOffset * string[] -> Azure.Messaging.EventHubs.EventHubProperties
Protected Friend Sub New (name As String, createdOn As DateTimeOffset, partitionIds As String())

Parameters

name
String

The name of the Event Hub.

createdOn
DateTimeOffset

The date and time at which the Event Hub was created.

partitionIds
String[]

The set of unique identifiers for each partition.

Applies to

EventHubProperties(String, DateTimeOffset, String[], Boolean)

Source:
EventHubProperties.cs

Initializes a new instance of the EventHubProperties class.

protected internal EventHubProperties (string name, DateTimeOffset createdOn, string[] partitionIds, bool isGeoReplicationEnabled = false);
new Azure.Messaging.EventHubs.EventHubProperties : string * DateTimeOffset * string[] * bool -> Azure.Messaging.EventHubs.EventHubProperties
Protected Friend Sub New (name As String, createdOn As DateTimeOffset, partitionIds As String(), Optional isGeoReplicationEnabled As Boolean = false)

Parameters

name
String

The name of the Event Hub.

createdOn
DateTimeOffset

The date and time at which the Event Hub was created.

partitionIds
String[]

The set of unique identifiers for each partition.

isGeoReplicationEnabled
Boolean

A flag indicating whether or not the Event Hub has geo-replication enabled.

Applies to