Share via


QueueClient.CreateWithManagedIdentity メソッド

定義

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

public static Microsoft.ServiceBus.Messaging.QueueClient CreateWithManagedIdentity (Uri endpointAddress, string path, Microsoft.ServiceBus.Messaging.ReceiveMode mode = Microsoft.ServiceBus.Messaging.ReceiveMode.PeekLock, TimeSpan? operationTimeout = default, Microsoft.ServiceBus.Messaging.TransportType transportType = Microsoft.ServiceBus.Messaging.TransportType.NetMessaging);
static member CreateWithManagedIdentity : Uri * string * Microsoft.ServiceBus.Messaging.ReceiveMode * Nullable<TimeSpan> * Microsoft.ServiceBus.Messaging.TransportType -> Microsoft.ServiceBus.Messaging.QueueClient
Public Shared Function CreateWithManagedIdentity (endpointAddress As Uri, path As String, Optional mode As ReceiveMode = Microsoft.ServiceBus.Messaging.ReceiveMode.PeekLock, Optional operationTimeout As Nullable(Of TimeSpan) = Nothing, Optional transportType As TransportType = Microsoft.ServiceBus.Messaging.TransportType.NetMessaging) As QueueClient

パラメーター

endpointAddress
Uri

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

path
String

キューへのパス。

mode
ReceiveMode

受信モード。

operationTimeout
Nullable<TimeSpan>

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

transportType
TransportType

メッセージング トランスポートの種類。

戻り値

作成された QueueClient

適用対象