ServiceBusConnectionStringBuilder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used to generate Service Bus connection strings.
public class ServiceBusConnectionStringBuilder
type ServiceBusConnectionStringBuilder = class
Public Class ServiceBusConnectionStringBuilder
- Inheritance
-
ServiceBusConnectionStringBuilder
Constructors
Properties
Authentication |
Enables Azure Active Directory Managed Identity authentication when set to ServiceBusConnectionStringBuilder.AuthenticationType.ManagedIdentity |
ConnectionIdleTimeout |
Maximum duration after which an idle connection is closed.A connection is considered idle if it receives no traffic. |
Endpoint |
Fully qualified domain name of the endpoint. |
EntityPath |
Get the entity path value from the connection string |
OperationTimeout |
Duration after which individual operations will timeout. |
SasKey |
Get the shared access policy key value from the connection string |
SasKeyName |
Get the shared access policy owner name from the connection string |
SasToken |
Get the shared access signature token from the connection string |
TransportType |
Get the transport type from the connection string |
Methods
GetEntityConnectionString() |
Returns an interoperable connection string that can be used to connect to the given ServiceBus Entity |
GetNamespaceConnectionString() |
Returns an interoperable connection string that can be used to connect to ServiceBus Namespace |
ToString() |
Returns an interoperable connection string that can be used to connect to ServiceBus Namespace |
Applies to
Azure SDK for .NET