FabricRuntime.RegisterStatefulServiceFactoryAsync 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.
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
- factory
- IStatefulServiceFactory
- timeout
- System.TimeSpan
- cancellationToken
- System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task