Skip to content

ClientBuilderExtensions Methods

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

AddAzureQueueJsonStreams(IClientBuilder, string, Action<ClusterClientAzureQueueJsonStreamConfigurator>)

staticextension
View source
[System.Diagnostics.CodeAnalysis.Experimental(StreamingJsonSerializationExperimental, UrlFormat = https://github.com/dotnet/orleans/pull/9618)]
public static IClientBuilder AddAzureQueueJsonStreams(this IClientBuilder builder, string name, Action<ClusterClientAzureQueueJsonStreamConfigurator> configure)
Configure cluster client to use Azure Queue persistent streams with JSON serialization. This feature is experimental and subject to change in future updates.

Parameters

builderIClientBuilder
The client builder.
namestring
The stream provider name.
configureAction<ClusterClientAzureQueueJsonStreamConfigurator>
Configuration delegate for the JSON-enabled Azure Queue stream provider.

Returns

The client builder for method chaining.

AddAzureQueueJsonStreams(IClientBuilder, string, Action<OptionsBuilder<AzureQueueOptions>>)

staticextension
View source
[System.Diagnostics.CodeAnalysis.Experimental(StreamingJsonSerializationExperimental, UrlFormat = https://github.com/dotnet/orleans/pull/9618)]
public static IClientBuilder AddAzureQueueJsonStreams(this IClientBuilder builder, string name, Action<OptionsBuilder<AzureQueueOptions>> configureOptions)
Configure cluster client to use Azure Queue persistent streams with JSON serialization and default settings. This feature is experimental and subject to change in future updates.

Parameters

builderIClientBuilder
The client builder.
namestring
The stream provider name.
configureOptionsAction<OptionsBuilder<AzureQueueOptions>>
Configuration delegate for Azure Queue options.

Returns

The client builder for method chaining.