BuiltInProvidersConfigurationExtensions.AddMemoryStorageProvider 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.
Adds a storage provider of type MemoryStorage
public static void AddMemoryStorageProvider (this Orleans.Runtime.Configuration.ClusterConfiguration config, string providerName = "MemoryStore", int numStorageGrains = 10);
static member AddMemoryStorageProvider : Orleans.Runtime.Configuration.ClusterConfiguration * string * int -> unit
<Extension()>
Public Sub AddMemoryStorageProvider (config As ClusterConfiguration, Optional providerName As String = "MemoryStore", Optional numStorageGrains As Integer = 10)
Parameters
- config
- ClusterConfiguration
The cluster configuration object to add provider to.
- providerName
- String
The provider name.
- numStorageGrains
- Int32
The number of storage grains to use.