Skip to content

SiloBuilderExtensions 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(ISiloBuilder, string, Action<OptionsBuilder<AzureQueueOptions>>)

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

Parameters

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

Returns

The silo builder for method chaining.

AddAzureQueueJsonStreams(ISiloBuilder, string, Action<SiloAzureQueueJsonStreamConfigurator>)

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

Parameters

builderISiloBuilder
The silo builder.
namestring
The stream provider name.
configureAction<SiloAzureQueueJsonStreamConfigurator>
Configuration delegate for the JSON-enabled Azure Queue stream provider.

Returns

The silo builder for method chaining.