Table of Contents

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 IServiceProvider

The application's configured services. Inject IOptionsMonitor<TOptions> to obtain the connection string.

serviceBindingName string

The service binding name.

Returns

object

The driver-specific connection object.