TopicClient.CreateWithManagedIdentity Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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.
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:
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für