Condividi tramite


IStatefulServiceFactory Interface

Definition

Represents a stateful service factory that is responsible for creating replicas of a specific type of stateful service. Stateful service factories are registered with the FabricRuntime by service hosts via RegisterStatefulServiceFactory(String, IStatefulServiceFactory) or RegisterStatefulServiceFactoryAsync(String, IStatefulServiceFactory, TimeSpan, CancellationToken).

public interface IStatefulServiceFactory
type IStatefulServiceFactory = interface
Public Interface IStatefulServiceFactory

Methods

CreateReplica(String, Uri, Byte[], Guid, Int64)

Called by Service Fabric to create a stateful service replica for a particular service.

Applies to