ServiceRuntime Class
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.
The static class that provides methods to register reliable services with Service Fabric runtime.
public static class ServiceRuntime
type ServiceRuntime = class
Public Class ServiceRuntime
- Inheritance
-
ServiceRuntime
Methods
RegisterServiceAsync(String, Func<StatefulServiceContext,StatefulServiceBase>, TimeSpan, CancellationToken) |
Registers a reliable stateful service with Service Fabric runtime. |
RegisterServiceAsync(String, Func<StatelessServiceContext,StatelessService>, TimeSpan, CancellationToken) |
Registers a reliable stateless service with Service Fabric runtime. |