ServiceBusConnectionStringProperties interface

組成服務總線連接字串的屬性集。

屬性

endpoint

連接字串中 「Endpoint」 的值。

entityPath

連接字串中 「EntityPath」 的值,也就是與連接字串相關聯的佇列或主題名稱。 命名空間層級所建立共用存取原則的連接字串將不會有 EntityPath。

fullyQualifiedNamespace

從連接字串中的「端點」擷取的完整服務總線命名空間。 這可能類似於 {yournamespace}.servicebus.windows.net。 這通常用來建構 ServiceBusClient。

sharedAccessKey

連接字串中 「SharedAccessKey」 的值。 這與連接字串中的 「SharedAccessKeyName」 一起用來產生 SharedAccessSignature,可用來授權服務的連線。

sharedAccessKeyName

連接字串中 「SharedAccessKeyName」 的值。 這與連接字串中的 「SharedAccessKey」 一起用來產生 SharedAccessSignature,可用來授權服務連線。

sharedAccessSignature

連接字串中 「SharedAccessSignature」 的值。 這通常不會出現在針對共用存取原則產生的連接字串中。 而是由用戶產生,並附加至連接字串以方便使用。

useDevelopmentEmulator

連接字串中 「UseDevelopmentEmulator」 的值。 這通常只存在於本地運行的模擬器的連接字串中。

屬性詳細資料

endpoint

連接字串中 「Endpoint」 的值。

endpoint: string

屬性值

string

entityPath

連接字串中 「EntityPath」 的值,也就是與連接字串相關聯的佇列或主題名稱。 命名空間層級所建立共用存取原則的連接字串將不會有 EntityPath。

entityPath?: string

屬性值

string

fullyQualifiedNamespace

從連接字串中的「端點」擷取的完整服務總線命名空間。 這可能類似於 {yournamespace}.servicebus.windows.net。 這通常用來建構 ServiceBusClient。

fullyQualifiedNamespace: string

屬性值

string

sharedAccessKey

連接字串中 「SharedAccessKey」 的值。 這與連接字串中的 「SharedAccessKeyName」 一起用來產生 SharedAccessSignature,可用來授權服務的連線。

sharedAccessKey?: string

屬性值

string

sharedAccessKeyName

連接字串中 「SharedAccessKeyName」 的值。 這與連接字串中的 「SharedAccessKey」 一起用來產生 SharedAccessSignature,可用來授權服務連線。

sharedAccessKeyName?: string

屬性值

string

sharedAccessSignature

連接字串中 「SharedAccessSignature」 的值。 這通常不會出現在針對共用存取原則產生的連接字串中。 而是由用戶產生,並附加至連接字串以方便使用。

sharedAccessSignature?: string

屬性值

string

useDevelopmentEmulator

連接字串中 「UseDevelopmentEmulator」 的值。 這通常只存在於本地運行的模擬器的連接字串中。

useDevelopmentEmulator?: boolean

屬性值

boolean