Silo 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Silo(ILocalSiloDetails, IServiceProvider) |
已淘汰.
初始化 Silo 類別的新執行個體。 |
Silo(String, Silo+SiloType, ClusterConfiguration) |
初始化 Silo 類別的新執行個體。 |
Silo(ILocalSiloDetails, IServiceProvider)
- 來源:
- Silo.cs
警告
This constructor is obsolete and may be removed in a future release. Use SiloHostBuilder to create an instance of ISiloHost instead.
初始化 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)
參數
- siloDetails
- ILocalSiloDetails
定址接收器初始化參數
- services
- IServiceProvider
相依性插入容器
- 屬性
適用於
Silo(String, Silo+SiloType, ClusterConfiguration)
初始化 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)
參數
- name
- String
這個定址接收器的名稱。
- siloType
- Silo.SiloType
這個定址接收器的類型。
- config
- ClusterConfiguration
要用於這個定址接收器的定址接收器設定資料。