CoreHostingExtensions.AddDistributedGrainDirectory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opts-in to the experimental distributed grain directory.
public static Orleans.Hosting.ISiloBuilder AddDistributedGrainDirectory(this Orleans.Hosting.ISiloBuilder siloBuilder, string? name = default);
static member AddDistributedGrainDirectory : Orleans.Hosting.ISiloBuilder * string -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddDistributedGrainDirectory (siloBuilder As ISiloBuilder, Optional name As String = Nothing) As ISiloBuilder
Parameters
- siloBuilder
- ISiloBuilder
The silo builder to register the directory implementation with.
- name
- String
The name of the directory to register, or null to register the directory as the default.
Returns
The provided silo builder.