Skip to content

InProcessSiloHandle.CreateAsync(string, IConfiguration, Action<IHostBuilder>, CancellationToken)

CreateAsync(string, IConfiguration, Action<IHostBuilder>, CancellationToken)

static
View source
public static Task<InProcessSiloHandle> CreateAsync(string siloName, IConfiguration configuration, Action<IHostBuilder>? postConfigureHostBuilder, CancellationToken cancellationToken)
Create a silo handle.

Parameters

siloNamestring
Name of the silo.
configurationIConfiguration
The configuration.
postConfigureHostBuilderAction<IHostBuilder>
An optional delegate which is invoked just prior to building the host builder.
cancellationTokenCancellationToken
The token used to cancel silo startup.

Returns

The silo handle.