ServiceBusConnectionStringBuilder ServiceBusConnectionStringBuilder ServiceBusConnectionStringBuilder Class

Definition

Creates and manages the contents of connection strings. You can use this class to construct a connection string for creating client messaging entities. It can also be used to perform basic validation on an existing connection string.

public class ServiceBusConnectionStringBuilder
type ServiceBusConnectionStringBuilder = class
Public Class ServiceBusConnectionStringBuilder
Inheritance
ServiceBusConnectionStringBuilderServiceBusConnectionStringBuilderServiceBusConnectionStringBuilder

Constructors

ServiceBusConnectionStringBuilder() ServiceBusConnectionStringBuilder() ServiceBusConnectionStringBuilder()

Initializes a new instance of the ServiceBusConnectionStringBuilder class.

ServiceBusConnectionStringBuilder(String) ServiceBusConnectionStringBuilder(String) ServiceBusConnectionStringBuilder(String)

Initializes a new instance of the ServiceBusConnectionStringBuilder class with a specified existing connection string.

Properties

EnableAmqpLinkRedirect EnableAmqpLinkRedirect EnableAmqpLinkRedirect
Endpoints Endpoints Endpoints

Gets a collection of service endpoints. Each endpoint must reference the same Service Bus namespace.

EntityPath EntityPath EntityPath

Gets or sets the entity path for the Path, Path, and Path properties.

ManagementPort ManagementPort ManagementPort

Gets or sets the TCP port number for management operations.

OAuthDomain OAuthDomain OAuthDomain

Gets or sets the authentication domain for the connection.

OAuthPassword OAuthPassword OAuthPassword

Gets or sets the authentication password for the connection.

OAuthUsername OAuthUsername OAuthUsername

Gets or sets the authentication user name for the connection.

OperationTimeout OperationTimeout OperationTimeout

Gets or sets the TimeSpan that specifies how long the messaging operation has to complete before timing out.

Publisher Publisher Publisher

Get or sets the publisher identifier.

RuntimePort RuntimePort RuntimePort

Gets or sets the TCP port number for runtime operation.

SharedAccessKey SharedAccessKey SharedAccessKey

Gets or sets the shared access key for the connection authentication.

SharedAccessKeyName SharedAccessKeyName SharedAccessKeyName

Gets or sets the name of the shared access key.

SharedAccessSignature SharedAccessSignature SharedAccessSignature

Gets or sets the SAS access token.

SharedSecretIssuerName SharedSecretIssuerName SharedSecretIssuerName

Gets or sets the shared secret issuer name.

SharedSecretIssuerSecret SharedSecretIssuerSecret SharedSecretIssuerSecret

Gets or sets the shared secret issuer secret.

StsEndpoints StsEndpoints StsEndpoints

Gets a set of STS endpoints.

TransportType TransportType TransportType

Gets or sets the transport type to be used for client messaging entities.

WindowsCredentialDomain WindowsCredentialDomain WindowsCredentialDomain

Gets or sets the Windows credential domain.

WindowsCredentialPassword WindowsCredentialPassword WindowsCredentialPassword

Gets or sets the Windows credential password.

WindowsCredentialUsername WindowsCredentialUsername WindowsCredentialUsername

Gets or sets the Windows credential user name.

Methods

CreateUsingOAuthCredential(IEnumerable<Uri>, IEnumerable<Uri>, Int32, Int32, String, String, SecureString) CreateUsingOAuthCredential(IEnumerable<Uri>, IEnumerable<Uri>, Int32, Int32, String, String, SecureString) CreateUsingOAuthCredential(IEnumerable<Uri>, IEnumerable<Uri>, Int32, Int32, String, String, SecureString)

Creates a connection string using authentication credentials.

CreateUsingSharedAccessKey(Uri, String, String) CreateUsingSharedAccessKey(Uri, String, String) CreateUsingSharedAccessKey(Uri, String, String)

Create a connection string using the shared access key.

CreateUsingSharedAccessKey(IEnumerable<Uri>, Int32, Int32, String, String) CreateUsingSharedAccessKey(IEnumerable<Uri>, Int32, Int32, String, String) CreateUsingSharedAccessKey(IEnumerable<Uri>, Int32, Int32, String, String)

Create a connection string using the shared access key.

CreateUsingSharedAccessSignature(Uri, String, String, String) CreateUsingSharedAccessSignature(Uri, String, String, String) CreateUsingSharedAccessSignature(Uri, String, String, String)

Creates a connection string using SAS credentials.

CreateUsingSharedSecret(Uri, String, String) CreateUsingSharedSecret(Uri, String, String) CreateUsingSharedSecret(Uri, String, String)

Creates a connection string using the shared secret credentials.

CreateUsingSharedSecret(IEnumerable<Uri>, IEnumerable<Uri>, Int32, Int32, String, String) CreateUsingSharedSecret(IEnumerable<Uri>, IEnumerable<Uri>, Int32, Int32, String, String) CreateUsingSharedSecret(IEnumerable<Uri>, IEnumerable<Uri>, Int32, Int32, String, String)

Creates a connection string using the shared secret credentials.

CreateUsingWindowsCredential(IEnumerable<Uri>, IEnumerable<Uri>, Int32, Int32, String, String, SecureString) CreateUsingWindowsCredential(IEnumerable<Uri>, IEnumerable<Uri>, Int32, Int32, String, String, SecureString) CreateUsingWindowsCredential(IEnumerable<Uri>, IEnumerable<Uri>, Int32, Int32, String, String, SecureString)

Creates a connection string using Windows credentials.

GetAbsoluteManagementEndpoints() GetAbsoluteManagementEndpoints() GetAbsoluteManagementEndpoints()

Retrieves the absolute management endpoints.

GetAbsoluteRuntimeEndpoints() GetAbsoluteRuntimeEndpoints() GetAbsoluteRuntimeEndpoints()

Retrieves the absolute runtime endpoints.

ToString() ToString() ToString()

Returns a string that represents the current object.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to