GrainService Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GrainService() |
Only to make Reflection happy. Do not use it in your implementation |
GrainService(IGrainIdentity, Silo, ILoggerFactory) |
Constructor to use for grain services |
GrainService(IGrainIdentity, Silo, IGrainServiceConfiguration) |
Constructor to use for grain services |
GrainService(GrainId, Silo, ILoggerFactory) |
Constructor to use for grain services |
GrainService()
- Source:
- GrainService.cs
Only to make Reflection happy. Do not use it in your implementation
protected GrainService ();
Protected Sub New ()
Applies to
GrainService(IGrainIdentity, Silo, ILoggerFactory)
- Source:
- GrainService.cs
Constructor to use for grain services
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)
Parameters
- grainId
- IGrainIdentity
- silo
- Silo
- loggerFactory
- ILoggerFactory
Applies to
GrainService(IGrainIdentity, Silo, IGrainServiceConfiguration)
Constructor to use for grain services
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)
Parameters
- grainId
- IGrainIdentity
- silo
- Silo
- config
- IGrainServiceConfiguration
Applies to
GrainService(GrainId, Silo, ILoggerFactory)
Constructor to use for grain services
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)
Parameters
- grainId
- GrainId
- silo
- Silo
- loggerFactory
- ILoggerFactory