Dela via


FabricRuntime.RegisterServiceGroupFactory(String, ServiceGroupFactory) Method

Definition

Registers the specified ServiceGroupFactory for the specified type.

public void RegisterServiceGroupFactory (string serviceGroupTypeName, System.Fabric.ServiceGroupFactory factory);
member this.RegisterServiceGroupFactory : string * System.Fabric.ServiceGroupFactory -> unit
Public Sub RegisterServiceGroupFactory (serviceGroupTypeName As String, factory As ServiceGroupFactory)

Parameters

serviceGroupTypeName
String

The type name of the ServiceGroup service type (as a string). This should match the type of the service group type as specified in the manifests and/or the CreateServiceGroup command.

factory
ServiceGroupFactory

The ServiceGroupFactory which can create the specified service group type.

Applies to