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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET