共用方式為


EventHubOptions.ConfigureEventHubConnection 方法

定義

多載

ConfigureEventHubConnection(EventHubConnection, String)

使用提供的連線實例設定 Azure 事件中樞連線。

ConfigureEventHubConnection(EventHubOptions+CreateConnectionDelegate, String, String)

使用提供的委派設定 Azure 事件中樞連線。

ConfigureEventHubConnection(String, String, String)

使用提供的連接字串設定 Azure 事件中樞連線。

ConfigureEventHubConnection(String, String, String, AzureNamedKeyCredential)

使用所提供的完整命名空間字串和認證,設定 Azure 事件中樞連線。

ConfigureEventHubConnection(String, String, String, AzureSasCredential)

使用所提供的完整命名空間字串和認證,設定 Azure 事件中樞連線。

ConfigureEventHubConnection(String, String, String, TokenCredential)

使用所提供的完整命名空間字串和認證,設定 Azure 事件中樞連線。

ConfigureEventHubConnection(EventHubConnection, String)

來源:
EventHubStreamOptions.cs

使用提供的連線實例設定 Azure 事件中樞連線。

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)

參數

connection
EventHubConnection
consumerGroup
String

適用於

ConfigureEventHubConnection(EventHubOptions+CreateConnectionDelegate, String, String)

來源:
EventHubStreamOptions.cs

使用提供的委派設定 Azure 事件中樞連線。

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)

參數

eventHubName
String
consumerGroup
String

適用於

ConfigureEventHubConnection(String, String, String)

來源:
EventHubStreamOptions.cs

使用提供的連接字串設定 Azure 事件中樞連線。

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)

參數

connectionString
String
eventHubName
String
consumerGroup
String

適用於

ConfigureEventHubConnection(String, String, String, AzureNamedKeyCredential)

來源:
EventHubStreamOptions.cs

使用所提供的完整命名空間字串和認證,設定 Azure 事件中樞連線。

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)

參數

fullyQualifiedNamespace
String
eventHubName
String
consumerGroup
String

適用於

ConfigureEventHubConnection(String, String, String, AzureSasCredential)

來源:
EventHubStreamOptions.cs

使用所提供的完整命名空間字串和認證,設定 Azure 事件中樞連線。

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)

參數

fullyQualifiedNamespace
String
eventHubName
String
consumerGroup
String
credential
AzureSasCredential

適用於

ConfigureEventHubConnection(String, String, String, TokenCredential)

來源:
EventHubStreamOptions.cs

使用所提供的完整命名空間字串和認證,設定 Azure 事件中樞連線。

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)

參數

fullyQualifiedNamespace
String
eventHubName
String
consumerGroup
String
credential
TokenCredential

適用於