ServiceBusAccountAttribute(String) Constructor

Definition

Constructs a new instance.

public ServiceBusAccountAttribute (string account);
new Microsoft.Azure.WebJobs.ServiceBusAccountAttribute : string -> Microsoft.Azure.WebJobs.ServiceBusAccountAttribute
Public Sub New (account As String)

Parameters

account
String

A string value indicating the Service Bus connection string to use. This string should be in one of the following formats. These checks will be applied in order and the first match wins. - The name of an "AzureWebJobs" prefixed app setting or connection string name. E.g., if your setting name is "AzureWebJobsMyServiceBus", you can specify "MyServiceBus" here. - Can be a string containing %% values (e.g. %StagingServiceBus%). The value provided will be passed to any INameResolver registered on the JobHostConfiguration to resolve the actual setting name to use. - Can be an app setting or connection string name of your choosing.

Applies to