Edit

Share via


ClientBuilderExtensions Class

Definition

Extension methods for IClientBuilder.

public static class ClientBuilderExtensions
type ClientBuilderExtensions = class
Public Module ClientBuilderExtensions
Inheritance
ClientBuilderExtensions

Methods

AddActivityPropagation(IClientBuilder)

Add Current propagation through grain calls. Note: according to StartActivity(String, ActivityKind) activity will be created only when any listener for activity exists HasListeners() and Sample returns PropagationData.

AddAzureQueueStreams(IClientBuilder, String, Action<ClusterClientAzureQueueStreamConfigurator>)

Configure cluster client to use azure queue persistent streams.

AddAzureQueueStreams(IClientBuilder, String, Action<ClusterClientAzureQueueStreamConfigurator>)

Configure cluster client to use azure queue persistent streams.

AddAzureQueueStreams(IClientBuilder, String, Action<OptionsBuilder<AzureQueueOptions>>)

Configure cluster client to use azure queue persistent streams.

AddAzureQueueStreams(IClientBuilder, String, Action<OptionsBuilder<AzureQueueOptions>>)

Configure cluster client to use azure queue persistent streams.

AddAzureQueueStreams<TDataAdapter>(IClientBuilder, String, Action<ClusterClientAzureQueueStreamConfigurator<TDataAdapter>>)

Configure cluster client to use azure queue persistent streams.

AddAzureQueueStreams<TDataAdapter>(IClientBuilder, String, Action<OptionsBuilder<AzureQueueOptions>>)

Configure cluster client to use azure queue persistent streams.

AddClusterConnectionLostHandler(IClientBuilder, ConnectionToClusterLostHandler)

Registers a ConnectionToClusterLostHandler event handler.

AddEventHubStreams(IClientBuilder, String, Action<ClusterClientEventHubStreamConfigurator>)

Configure cluster client to use event hub persistent streams.

AddEventHubStreams(IClientBuilder, String, Action<EventHubOptions>)

Configure cluster client to use event hub persistent streams with default settings.

AddEventHubStreams(IClientBuilder, String, Action<EventHubOptions>)

Configure cluster client to use event hub persistent streams with default settings.

AddEventHubStreams(IClientBuilder, String, Action<IClusterClientEventHubStreamConfigurator>)

Configure cluster client to use event hub persistent streams.

AddEventHubStreams(IClientBuilder, String, Action<IClusterClientEventHubStreamConfigurator>)

Configure cluster client to use event hub persistent streams.

AddGatewayCountChangedHandler(IClientBuilder, GatewayCountChangedHandler)

Registers a GatewayCountChangedHandler event handler.

AddMemoryStreams<TSerializer>(IClientBuilder, String, Action<ClusterClientMemoryStreamConfigurator<TSerializer>>)

Configure cluster client to use memory streams. This return a configurator for further configuration

AddMemoryStreams<TSerializer>(IClientBuilder, String, Action<IClusterClientMemoryStreamConfigurator>)

Configure cluster client to use memory streams. This return a configurator for further configuration

AddSqsStreams(IClientBuilder, String, Action<ClusterClientSqsStreamConfigurator>)

Configure cluster client to use SQS persistent streams.

AddSqsStreams(IClientBuilder, String, Action<ClusterClientSqsStreamConfigurator>)

Configure cluster client to use SQS persistent streams.

AddSqsStreams(IClientBuilder, String, Action<ClusterClientSqsStreamConfigurator>)

Configure cluster client to use SQS persistent streams.

AddSqsStreams(IClientBuilder, String, Action<SqsOptions>)

Configure cluster client to use SQS persistent streams with default settings

AddSqsStreams(IClientBuilder, String, Action<SqsOptions>)

Configure cluster client to use SQS persistent streams with default settings

Configure<TOptions>(IClientBuilder, Action<TOptions>)

Registers an action used to configure a particular type of options.

Configure<TOptions>(IClientBuilder, IConfiguration)

Registers a configuration instance which TOptions will bind against.

ConfigureServices(IClientBuilder, Action<IServiceCollection>)

Adds services to the container. This can be called multiple times and the results will be additive.

UseConnectionRetryFilter(IClientBuilder, Func<Exception,CancellationToken,Task<Boolean>>)

Configures the provided delegate as a connection retry filter, used to determine whether initial connection to the Orleans cluster should be retried after a failure.

UseConnectionRetryFilter(IClientBuilder, IClientConnectionRetryFilter)

Configures the provided delegate as a connection retry filter, used to determine whether initial connection to the Orleans cluster should be retried after a failure.

UseConnectionRetryFilter<TConnectionRetryFilter>(IClientBuilder)

Configures the provided TConnectionRetryFilter type as a connection retry filter, used to determine whether initial connection to the Orleans cluster should be retried after a failure.

UseLocalhostClustering(IClientBuilder, Int32, String, String)

Configures the client to connect to a silo on the localhost.

UseLocalhostClustering(IClientBuilder, Int32[], String, String)

Configures the client to connect to a silo on the localhost.

UseStaticClustering(IClientBuilder, Action<OptionsBuilder<StaticGatewayListProviderOptions>>)

Configures the client to use static clustering.

UseStaticClustering(IClientBuilder, Action<StaticGatewayListProviderOptions>)

Configures the client to use static clustering.

UseStaticClustering(IClientBuilder, IPEndPoint[])

Configures the client to use static clustering.

UseTransactions(IClientBuilder)

Applies to