EventHubClient.CreateWithAzureActiveDirectory メソッド

定義

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

public static Microsoft.ServiceBus.Messaging.EventHubClient CreateWithAzureActiveDirectory (Uri endpointAddress, string path, Microsoft.ServiceBus.AzureActiveDirectoryTokenProvider.AuthenticationCallback authCallback, string authority, TimeSpan? operationTimeout = default, bool enableLinkRedirect = true);
static member CreateWithAzureActiveDirectory : Uri * string * Microsoft.ServiceBus.AzureActiveDirectoryTokenProvider.AuthenticationCallback * string * Nullable<TimeSpan> * bool -> Microsoft.ServiceBus.Messaging.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 enableLinkRedirect As Boolean = true) As EventHubClient

パラメーター

endpointAddress
Uri

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

path
String

イベント ハブへのパス。

authCallback
AzureActiveDirectoryTokenProvider.AuthenticationCallback

認証コールバック。

authority
String

トークンを発行する機関のアドレス。

operationTimeout
Nullable<TimeSpan>

TimeSpan タイムアウトするまでにメッセージング操作を完了する必要がある時間を指定する

enableLinkRedirect
Boolean

このトランスポートをサーバー バックエンドにリダイレクトする準備ができているかどうかを示す値。

戻り値

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

適用対象