Skip to content

ClusterClientAdoNetStreamExtensions Methods

Allows configuration of individual ADO.NET streams in a cluster client.

AddAdoNetStreams(IClientBuilder, string, Action<AdoNetStreamOptions>)

staticextension
View source
public static IClientBuilder AddAdoNetStreams(this IClientBuilder builder, string name, Action<AdoNetStreamOptions> configureOptions)
Configures the client to use an ADO.NET stream provider.

Parameters

builderIClientBuilder
The client builder.
namestring
The stream provider name.
configureOptionsAction<AdoNetStreamOptions>
The delegate used to configure the provider.

Returns

The same builder instance.

AddAdoNetStreams(IClientBuilder, string, Action<ClusterClientAdoNetStreamConfigurator>)

staticextension
View source
public static IClientBuilder AddAdoNetStreams(this IClientBuilder builder, string name, Action<ClusterClientAdoNetStreamConfigurator> configure)
Configures the client to use an ADO.NET stream provider.

Parameters

builderIClientBuilder
The client builder.
namestring
The stream provider name.
configureAction<ClusterClientAdoNetStreamConfigurator>
The delegate used to configure the provider.

Returns

The same builder instance.