ServiceBusAccountAttribute 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.
Attribute used to override the default ServiceBus account used by triggers and binders.
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method | System.AttributeTargets.Parameter)]
public sealed class ServiceBusAccountAttribute : Attribute, Microsoft.Azure.WebJobs.IConnectionProvider
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method | System.AttributeTargets.Parameter)>]
type ServiceBusAccountAttribute = class
inherit Attribute
interface IConnectionProvider
Public NotInheritable Class ServiceBusAccountAttribute
Inherits Attribute
Implements IConnectionProvider
- Inheritance
-
ServiceBusAccountAttribute
- Attributes
- Implements
-
Microsoft.Azure.WebJobs.IConnectionProvider
Remarks
This attribute can be applied at the parameter/method/class level, and the precedence is in that order.
Constructors
ServiceBusAccountAttribute(String) |
Constructs a new instance. |
Properties
Account |
Gets or sets the name of the app setting that contains the Service Bus connection string. |
Explicit Interface Implementations
IConnectionProvider.Connection |
Gets or sets the app setting name that contains the Service Bus connection string. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應