Delegate ConnectorCreateConnection
- Namespace
- Steeltoe.Connectors
- Assembly
- Steeltoe.Connectors.dll
Represents the method that creates a driver-specific connection object.
public delegate object ConnectorCreateConnection(IServiceProvider serviceProvider, string serviceBindingName)
Parameters
serviceProvider
IServiceProviderThe application's configured services. Inject IOptionsMonitor<TOptions> to obtain the connection string.
serviceBindingName
stringThe service binding name.
Returns
- object
The driver-specific connection object.