GrainService 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GrainService() |
只是为了让反思快乐。 请勿在实现中使用它 |
GrainService(IGrainIdentity, Silo, ILoggerFactory) |
要用于 grain 服务的构造函数 |
GrainService(IGrainIdentity, Silo, IGrainServiceConfiguration) |
要用于 grain 服务的构造函数 |
GrainService(GrainId, Silo, ILoggerFactory) |
要用于 grain 服务的构造函数 |
GrainService()
GrainService(IGrainIdentity, Silo, ILoggerFactory)
- Source:
- GrainService.cs
要用于 grain 服务的构造函数
protected GrainService (Orleans.Core.IGrainIdentity grainId, Orleans.Runtime.Silo silo, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Runtime.GrainService : Orleans.Core.IGrainIdentity * Orleans.Runtime.Silo * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Runtime.GrainService
Protected Sub New (grainId As IGrainIdentity, silo As Silo, loggerFactory As ILoggerFactory)
参数
- grainId
- IGrainIdentity
- silo
- Silo
- loggerFactory
- ILoggerFactory
适用于
GrainService(IGrainIdentity, Silo, IGrainServiceConfiguration)
要用于 grain 服务的构造函数
protected GrainService (Orleans.Core.IGrainIdentity grainId, Orleans.Runtime.Silo silo, Orleans.Runtime.Configuration.IGrainServiceConfiguration config);
new Orleans.Runtime.GrainService : Orleans.Core.IGrainIdentity * Orleans.Runtime.Silo * Orleans.Runtime.Configuration.IGrainServiceConfiguration -> Orleans.Runtime.GrainService
Protected Sub New (grainId As IGrainIdentity, silo As Silo, config As IGrainServiceConfiguration)
参数
- grainId
- IGrainIdentity
- silo
- Silo
- config
- IGrainServiceConfiguration
适用于
GrainService(GrainId, Silo, ILoggerFactory)
要用于 grain 服务的构造函数
protected GrainService (Orleans.Runtime.GrainId grainId, Orleans.Runtime.Silo silo, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Runtime.GrainService : Orleans.Runtime.GrainId * Orleans.Runtime.Silo * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Runtime.GrainService
Protected Sub New (grainId As GrainId, silo As Silo, loggerFactory As ILoggerFactory)
参数
- grainId
- GrainId
- silo
- Silo
- loggerFactory
- ILoggerFactory