Share via


FabricRuntime.RegisterStatefulServiceFactoryAsync Method

Definition

public System.Threading.Tasks.Task RegisterStatefulServiceFactoryAsync(string serviceTypeName, System.Fabric.IStatefulServiceFactory factory, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.RegisterStatefulServiceFactoryAsync : string * System.Fabric.IStatefulServiceFactory * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RegisterStatefulServiceFactoryAsync (serviceTypeName As String, factory As IStatefulServiceFactory, timeout As TimeSpan, cancellationToken As CancellationToken) As Task

Parameters

serviceTypeName
System.String
timeout
System.TimeSpan
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task

Applies to