Silo Constructors
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.
Overloads
Silo(ILocalSiloDetails, IServiceProvider) |
Obsolete.
Initializes a new instance of the Silo class. |
Silo(String, Silo+SiloType, ClusterConfiguration) |
Initializes a new instance of the Silo class. |
Silo(ILocalSiloDetails, IServiceProvider)
- Source:
- Silo.cs
Caution
This constructor is obsolete and may be removed in a future release. Use SiloHostBuilder to create an instance of ISiloHost instead.
Initializes a new instance of the Silo class.
[System.Obsolete("This constructor is obsolete and may be removed in a future release. Use SiloHostBuilder to create an instance of ISiloHost instead.")]
public Silo (Orleans.Runtime.ILocalSiloDetails siloDetails, IServiceProvider services);
[<System.Obsolete("This constructor is obsolete and may be removed in a future release. Use SiloHostBuilder to create an instance of ISiloHost instead.")>]
new Orleans.Runtime.Silo : Orleans.Runtime.ILocalSiloDetails * IServiceProvider -> Orleans.Runtime.Silo
Public Sub New (siloDetails As ILocalSiloDetails, services As IServiceProvider)
Parameters
- siloDetails
- ILocalSiloDetails
The silo initialization parameters
- services
- IServiceProvider
Dependency Injection container
- Attributes
Applies to
Silo(String, Silo+SiloType, ClusterConfiguration)
Initializes a new instance of the Silo class.
public Silo (string name, Orleans.Runtime.Silo.SiloType siloType, Orleans.Runtime.Configuration.ClusterConfiguration config);
new Orleans.Runtime.Silo : string * Orleans.Runtime.Silo.SiloType * Orleans.Runtime.Configuration.ClusterConfiguration -> Orleans.Runtime.Silo
Public Sub New (name As String, siloType As Silo.SiloType, config As ClusterConfiguration)
Parameters
- name
- String
Name of this silo.
- siloType
- Silo.SiloType
Type of this silo.
- config
- ClusterConfiguration
Silo config data to be used for this silo.