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
Azure SDK for .NET