OrleansServiceFabricExtensions.AddServiceFabricSupport Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
AddServiceFabricSupport(IServiceCollection, StatefulService) |
Ajoute la prise en charge de Service Fabric à la collection de services fournie. |
AddServiceFabricSupport(IServiceCollection, StatelessService) |
Ajoute la prise en charge de Service Fabric à la collection de services fournie. |
AddServiceFabricSupport(IServiceCollection, StatefulService)
Ajoute la prise en charge de Service Fabric à la collection de services fournie.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddServiceFabricSupport (this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection, Microsoft.ServiceFabric.Services.Runtime.StatefulService service);
static member AddServiceFabricSupport : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.ServiceFabric.Services.Runtime.StatefulService -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddServiceFabricSupport (serviceCollection As IServiceCollection, service As StatefulService) As IServiceCollection
Paramètres
- serviceCollection
- IServiceCollection
Collection de services.
- service
- StatefulService
Service Fabric.
Retours
Collection de services fournie.
S’applique à
AddServiceFabricSupport(IServiceCollection, StatelessService)
Ajoute la prise en charge de Service Fabric à la collection de services fournie.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddServiceFabricSupport (this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection, Microsoft.ServiceFabric.Services.Runtime.StatelessService service);
static member AddServiceFabricSupport : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.ServiceFabric.Services.Runtime.StatelessService -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddServiceFabricSupport (serviceCollection As IServiceCollection, service As StatelessService) As IServiceCollection
Paramètres
- serviceCollection
- IServiceCollection
Collection de services.
- service
- StatelessService
Service Fabric.
Retours
Collection de services fournie.