MessagingProvider(IOptions<ServiceBusOptions>) Constructor
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.
Initializes a new instance of MessagingProvider. This is called by the Functions runtime as part of start up.
public MessagingProvider (Microsoft.Extensions.Options.IOptions<Microsoft.Azure.WebJobs.ServiceBus.ServiceBusOptions> options);
public MessagingProvider (Microsoft.Extensions.Options.IOptions<Microsoft.Azure.WebJobs.ServiceBus.ServiceBusOptions> serviceBusOptions);
new Microsoft.Azure.WebJobs.ServiceBus.MessagingProvider : Microsoft.Extensions.Options.IOptions<Microsoft.Azure.WebJobs.ServiceBus.ServiceBusOptions> -> Microsoft.Azure.WebJobs.ServiceBus.MessagingProvider
new Microsoft.Azure.WebJobs.ServiceBus.MessagingProvider : Microsoft.Extensions.Options.IOptions<Microsoft.Azure.WebJobs.ServiceBus.ServiceBusOptions> -> Microsoft.Azure.WebJobs.ServiceBus.MessagingProvider
Public Sub New (options As IOptions(Of ServiceBusOptions))
Public Sub New (serviceBusOptions As IOptions(Of ServiceBusOptions))
Parameters
- optionsserviceBusOptions
- IOptions<ServiceBusOptions>
The options that are used to configure the client instances.
Exceptions
The options instance is null.