다음을 통해 공유


AzureEventHubsDataFeedSource(String, String) Constructor

Definition

Initializes a new instance of the AzureEventHubsDataFeedSource class.

public AzureEventHubsDataFeedSource (string connectionString, string consumerGroup);
new Azure.AI.MetricsAdvisor.Administration.AzureEventHubsDataFeedSource : string * string -> Azure.AI.MetricsAdvisor.Administration.AzureEventHubsDataFeedSource
Public Sub New (connectionString As String, consumerGroup As String)

Parameters

connectionString
String

The connection string for authenticating to the Azure Event Hubs resource.

consumerGroup
String

The Azure Event Hubs consumer group to use.

Exceptions

connectionString or consumerGroup is null.

connectionString or consumerGroup is empty.

Applies to