EventHubOptions.ConfigureEventHubConnection Method
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
ConfigureEventHubConnection(EventHubConnection, String) |
Configures the Azure Event Hub connection using the provided connection instance. |
ConfigureEventHubConnection(EventHubOptions+CreateConnectionDelegate, String, String) |
Configures the Azure Event Hub connection using the provided delegate. |
ConfigureEventHubConnection(String, String, String) |
Configures the Azure Event Hub connection using the provided connection string. |
ConfigureEventHubConnection(String, String, String, AzureNamedKeyCredential) |
Configures the Azure Event Hub connection using the provided fully-qualified namespace string and credential. |
ConfigureEventHubConnection(String, String, String, AzureSasCredential) |
Configures the Azure Event Hub connection using the provided fully-qualified namespace string and credential. |
ConfigureEventHubConnection(String, String, String, TokenCredential) |
Configures the Azure Event Hub connection using the provided fully-qualified namespace string and credential. |
ConfigureEventHubConnection(EventHubConnection, String)
- Source:
- EventHubStreamOptions.cs
Configures the Azure Event Hub connection using the provided connection instance.
public void ConfigureEventHubConnection (Azure.Messaging.EventHubs.EventHubConnection connection, string consumerGroup);
member this.ConfigureEventHubConnection : Azure.Messaging.EventHubs.EventHubConnection * string -> unit
Public Sub ConfigureEventHubConnection (connection As EventHubConnection, consumerGroup As String)
Parameters
- connection
- EventHubConnection
- consumerGroup
- String
Applies to
ConfigureEventHubConnection(EventHubOptions+CreateConnectionDelegate, String, String)
- Source:
- EventHubStreamOptions.cs
Configures the Azure Event Hub connection using the provided delegate.
public void ConfigureEventHubConnection (Orleans.Configuration.EventHubOptions.CreateConnectionDelegate createConnection, string eventHubName, string consumerGroup);
member this.ConfigureEventHubConnection : Orleans.Configuration.EventHubOptions.CreateConnectionDelegate * string * string -> unit
Public Sub ConfigureEventHubConnection (createConnection As EventHubOptions.CreateConnectionDelegate, eventHubName As String, consumerGroup As String)
Parameters
- createConnection
- EventHubOptions.CreateConnectionDelegate
- eventHubName
- String
- consumerGroup
- String
Applies to
ConfigureEventHubConnection(String, String, String)
- Source:
- EventHubStreamOptions.cs
Configures the Azure Event Hub connection using the provided connection string.
public void ConfigureEventHubConnection (string connectionString, string eventHubName, string consumerGroup);
member this.ConfigureEventHubConnection : string * string * string -> unit
Public Sub ConfigureEventHubConnection (connectionString As String, eventHubName As String, consumerGroup As String)
Parameters
- connectionString
- String
- eventHubName
- String
- consumerGroup
- String
Applies to
ConfigureEventHubConnection(String, String, String, AzureNamedKeyCredential)
- Source:
- EventHubStreamOptions.cs
Configures the Azure Event Hub connection using the provided fully-qualified namespace string and credential.
public void ConfigureEventHubConnection (string fullyQualifiedNamespace, string eventHubName, string consumerGroup, Azure.AzureNamedKeyCredential credential);
member this.ConfigureEventHubConnection : string * string * string * Azure.AzureNamedKeyCredential -> unit
Public Sub ConfigureEventHubConnection (fullyQualifiedNamespace As String, eventHubName As String, consumerGroup As String, credential As AzureNamedKeyCredential)
Parameters
- fullyQualifiedNamespace
- String
- eventHubName
- String
- consumerGroup
- String
- credential
- AzureNamedKeyCredential
Applies to
ConfigureEventHubConnection(String, String, String, AzureSasCredential)
- Source:
- EventHubStreamOptions.cs
Configures the Azure Event Hub connection using the provided fully-qualified namespace string and credential.
public void ConfigureEventHubConnection (string fullyQualifiedNamespace, string eventHubName, string consumerGroup, Azure.AzureSasCredential credential);
member this.ConfigureEventHubConnection : string * string * string * Azure.AzureSasCredential -> unit
Public Sub ConfigureEventHubConnection (fullyQualifiedNamespace As String, eventHubName As String, consumerGroup As String, credential As AzureSasCredential)
Parameters
- fullyQualifiedNamespace
- String
- eventHubName
- String
- consumerGroup
- String
- credential
- AzureSasCredential
Applies to
ConfigureEventHubConnection(String, String, String, TokenCredential)
- Source:
- EventHubStreamOptions.cs
Configures the Azure Event Hub connection using the provided fully-qualified namespace string and credential.
public void ConfigureEventHubConnection (string fullyQualifiedNamespace, string eventHubName, string consumerGroup, Azure.Core.TokenCredential credential);
member this.ConfigureEventHubConnection : string * string * string * Azure.Core.TokenCredential -> unit
Public Sub ConfigureEventHubConnection (fullyQualifiedNamespace As String, eventHubName As String, consumerGroup As String, credential As TokenCredential)
Parameters
- fullyQualifiedNamespace
- String
- eventHubName
- String
- consumerGroup
- String
- credential
- TokenCredential