Udostępnij za pośrednictwem


RelayConnectionStringBuilder Class

Definition

Creates and manages the contents of connection strings. You can use this class to construct a connection string for working with a Relay namespace. It can also be used to perform basic validation on an existing connection string.

public class RelayConnectionStringBuilder
type RelayConnectionStringBuilder = class
Public Class RelayConnectionStringBuilder
Inheritance
RelayConnectionStringBuilder

Constructors

RelayConnectionStringBuilder()

Initializes a new instance of the RelayConnectionStringBuilder class.

RelayConnectionStringBuilder(String)

Initializes a new instance of a RelayConnectionStringBuilder with a specified existing connection string.

Properties

Authentication

Enables Azure Active Directory Managed Identity authentication when set to ServiceBusConnectionStringBuilder.AuthenticationType.ManagedIdentity

Endpoint

Gets or sets the Relay namespace address.

EntityPath

Gets or sets the entity path for the HybridConnection.

OperationTimeout

Gets or sets the TimeSpan that specifies how long operations have to complete before timing out.

SharedAccessKey

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

SharedAccessKeyName

Gets or sets the name of the shared access key.

SharedAccessSignature

Gets or sets the SAS token.

Methods

ToString()

Creates a connectionString that represents the current object.

Applies to