Silo 构造函数

定义

重载

Silo(ILocalSiloDetails, IServiceProvider)
已过时.

初始化 Silo 类的新实例。

Silo(String, Silo+SiloType, ClusterConfiguration)

初始化 Silo 类的新实例。

Silo(ILocalSiloDetails, IServiceProvider)

Source:
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

用于此接收器的孤岛配置数据。

适用于