Partager via


Silo Constructeurs

Définition

Surcharges

Silo(ILocalSiloDetails, IServiceProvider)
Obsolète.

Initialise une nouvelle instance de la classe Silo.

Silo(String, Silo+SiloType, ClusterConfiguration)

Initialise une nouvelle instance de la classe Silo.

Silo(ILocalSiloDetails, IServiceProvider)

Source:
Silo.cs

Attention

This constructor is obsolete and may be removed in a future release. Use SiloHostBuilder to create an instance of ISiloHost instead.

Initialise une nouvelle instance de la classe Silo.

[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)

Paramètres

siloDetails
ILocalSiloDetails

Paramètres d’initialisation du silo

services
IServiceProvider

Conteneur d’injection de dépendances

Attributs

S’applique à

Silo(String, Silo+SiloType, ClusterConfiguration)

Initialise une nouvelle instance de la classe Silo.

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)

Paramètres

name
String

Nom de ce silo.

siloType
Silo.SiloType

Type de ce silo.

config
ClusterConfiguration

Données de configuration de silo à utiliser pour ce silo.

S’applique à