StatefulServiceBase(StatefulServiceContext, IStateProviderReplica) Constructor
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.
Initializes a new instance of the StatefulServiceBase class.
protected StatefulServiceBase (System.Fabric.StatefulServiceContext serviceContext, Microsoft.ServiceFabric.Data.IStateProviderReplica stateProviderReplica);
new Microsoft.ServiceFabric.Services.Runtime.StatefulServiceBase : System.Fabric.StatefulServiceContext * Microsoft.ServiceFabric.Data.IStateProviderReplica -> Microsoft.ServiceFabric.Services.Runtime.StatefulServiceBase
Protected Sub New (serviceContext As StatefulServiceContext, stateProviderReplica As IStateProviderReplica)
Parameters
- serviceContext
- StatefulServiceContext
A StatefulServiceContext that this service is created under. The context provides information like replica ID, partition ID, and service name.
- stateProviderReplica
- IStateProviderReplica
A IStateProviderReplica2 represents a reliable state provider replica.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET