FabricRuntime.RegisterServiceGroupFactory(String, ServiceGroupFactory) Method
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.
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.