Edytuj

Udostępnij za pośrednictwem


Silo Constructors

Definition

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.

Applies to