次の方法で共有


EventHubClient.CreateWithAzureActiveDirectory メソッド

定義

Azure Active Directory 認証を使用して の EventHubClient 新しいインスタンスを作成します。

public static Microsoft.Azure.EventHubs.EventHubClient CreateWithAzureActiveDirectory (Uri endpointAddress, string path, Microsoft.Azure.EventHubs.AzureActiveDirectoryTokenProvider.AuthenticationCallback authCallback, string authority, TimeSpan? operationTimeout = default, Microsoft.Azure.EventHubs.TransportType transportType = Microsoft.Azure.EventHubs.TransportType.Amqp);
static member CreateWithAzureActiveDirectory : Uri * string * Microsoft.Azure.EventHubs.AzureActiveDirectoryTokenProvider.AuthenticationCallback * string * Nullable<TimeSpan> * Microsoft.Azure.EventHubs.TransportType -> Microsoft.Azure.EventHubs.EventHubClient
Public Shared Function CreateWithAzureActiveDirectory (endpointAddress As Uri, path As String, authCallback As AzureActiveDirectoryTokenProvider.AuthenticationCallback, authority As String, Optional operationTimeout As Nullable(Of TimeSpan) = Nothing, Optional transportType As TransportType = Microsoft.Azure.EventHubs.TransportType.Amqp) As EventHubClient

パラメーター

endpointAddress
Uri

Event Hubs の完全修飾ドメイン名。 ほとんどの場合、{yournamespace}.servicebus.windows.net

path
String

イベント ハブへのパス。

authCallback
AzureActiveDirectoryTokenProvider.AuthenticationCallback

認証コールバック。

authority
String

トークンを発行する権限のアドレス。

operationTimeout
Nullable<TimeSpan>

Event Hubs 操作の操作タイムアウト。

transportType
TransportType

接続時のトランスポートの種類。

戻り値

新しく作成された Event Hub クライアント オブジェクト。

適用対象