EventHubClient.CreateWithManagedIdentity メソッド

定義

Azure マネージド ID 認証を使用して、 EventHubClient の新しいインスタンスを作成します。

public static Microsoft.ServiceBus.Messaging.EventHubClient CreateWithManagedIdentity (Uri endpointAddress, string path, TimeSpan? operationTimeout = default, bool enableLinkRedirect = true);
static member CreateWithManagedIdentity : Uri * string * Nullable<TimeSpan> * bool -> Microsoft.ServiceBus.Messaging.EventHubClient
Public Shared Function CreateWithManagedIdentity (endpointAddress As Uri, path 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

イベント ハブへのパス。

operationTimeout
Nullable<TimeSpan>

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

enableLinkRedirect
Boolean

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

戻り値

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

適用対象