TopicClient.CreateWithManagedIdentity Methode

Definition

Erstellt mithilfe der Azure Managed Identity-Authentifizierung eine neue instance vonTopicClient.

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

Parameter

endpointAddress
Uri

Vollqualifizierter Domänenname für Service Bus. Höchstwahrscheinlich ist {yournamespace}.servicebus.windows.net

path
String

Der Pfad zum Thema.

operationTimeout
Nullable<TimeSpan>

TimeSpan , der angibt, wie lange der Messagingvorgang abgeschlossen werden muss, bevor ein Timeout ausgeführt wird

transportType
TransportType

Messagingtransporttyp.

Gibt zurück

Der erstellte TopicClient.

Gilt für: