Aracılığıyla paylaş


ServiceRuntime Class

Definition

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.

Applies to