Condividi tramite


IStatelessServiceFactory Interface

Definition

Represents a stateless service factory that is responsible for creating instances of a specific type of stateless service.

public interface IStatelessServiceFactory
type IStatelessServiceFactory = interface
Public Interface IStatelessServiceFactory

Remarks

Stateless service factories are registered with the FabricRuntime by service hosts via RegisterStatelessServiceFactory(String, IStatelessServiceFactory) or RegisterStatelessServiceFactoryAsync(String, IStatelessServiceFactory, TimeSpan, CancellationToken).

Methods

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

Creates a stateless service instance for a particular service. This method is called by Service Fabric.

Applies to