EventHubOptions.ConfigureEventHubConnection 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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)
使用提供的連線實例設定 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)
使用提供的委派設定 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)
參數
- createConnection
- EventHubOptions.CreateConnectionDelegate
- eventHubName
- String
- consumerGroup
- String
適用於
ConfigureEventHubConnection(String, String, String)
使用提供的連接字串設定 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)
使用所提供的完整命名空間字串和認證,設定 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
- credential
- AzureNamedKeyCredential
適用於
ConfigureEventHubConnection(String, String, String, AzureSasCredential)
使用所提供的完整命名空間字串和認證,設定 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)
使用所提供的完整命名空間字串和認證,設定 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