你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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(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.